An open source application built using the new router, server components and everything new in Next.js 13.
Find a file
2022-11-17 19:29:42 +04:00
app feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
components Merge branch 'main' into feat/contentlayer 2022-11-17 19:29:42 +04:00
config feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
content feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
hooks feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
lib feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
pages feat: upgrade to latest next-auth 2022-11-07 16:37:54 +04:00
prisma fix: revert prisma workaround 2022-11-07 17:24:58 +04:00
public feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
styles feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
types feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
ui feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
.env.example fix: update github stars 2022-11-10 19:16:04 +04:00
.eslintrc.json feat: initial commit 2022-10-26 17:18:06 +04:00
.gitignore feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
.nvmrc deps: update node version 2022-11-04 08:18:35 +04:00
contentlayer.config.js feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
LICENSE.md feat: initial commit 2022-10-26 17:18:06 +04:00
middleware.ts feat: add from redirect for auth (#18) 2022-11-15 11:12:01 +04:00
next.config.mjs feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
package.json feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
postcss.config.js feat: initial commit 2022-10-26 17:18:06 +04:00
README.md fix(docs): update twitter url (#17) 2022-11-08 08:56:05 +04:00
tailwind.config.js feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
tsconfig.json feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00
yarn.lock feat: implement blog and doc sites 2022-11-17 19:14:41 +04:00

Taxonomy

An open source application built using the new router, server components and everything new in Next.js 13.

Warning

This app is a work in progress. I'm building this in public. You can follow the progress on Twitter @shadcn. See the roadmap below.

Demo

screenshot-2

About this project

Right now, I'm using this project as an experiment to see how a modern app (with features like authentication, subscriptions, API routes, static pages for docs ...etc) would work in Next.js 13 and server components.

I'll be posting updates and issues here.

A few people have asked me to turn this into a starter. I think we could do that once the new features are out of beta.

Features

  • New /app dir,
  • Routing, Layouts, Nested Layouts and Layout Groups.
  • Data fetching, Caching and Mutation.
  • Loading UI,
  • Server and Client Components.
  • API Routes and Middlewares.
  • Authentication using NextAuth.js.
  • ORM using Prisma.
  • UI Components built using Radix UI.
  • Styled using Tailwind CSS.
  • Validations using Zod.
  • Written in TypeScript.

Roadmap

Warning

This app is a work in progress. I'm building this in public. You can follow the progress on Twitter @shadcn.

  • Add MDX support for basic pages.
  • Responsive styles.
  • Subscriptions using Stripe.
  • Add Media Library.
  • Add Pages.
  • Build the front-end for blogs.
  • Add support for custom domains for blogs.
  • Build marketing pages (use a headless CMS?)
  • Add OG image for blog using @vercel/og.
  • Dark mode.

Known Issues

A list of things not working right now:

  1. GitHub authentication (use email)
  2. Prisma: Error: ENOENT: no such file or directory, open '/var/task/.next/server/chunks/schema.prisma'
  3. Next.js 13: Client side navigation does not update head

Why not trpc, Turborepo, pnpm or X?

I might add this later. For now, I want to see how far we can get using Next.js only.

If you have some suggestions, feel free to create an issue.

Running Locally

  1. Install dependencies using Yarn:
yarn
  1. Copy .env.example to .env.local and update the variables.

  2. Start the development server:

yarn dev

License

Licensed under the MIT license.