An open source application built using the new router, server components and everything new in Next.js 13.
Find a file
2026-04-20 16:01:37 +04:00
.husky chore: add commitlint and prettier 2022-11-22 12:55:03 +04:00
app feat: add t3-env for env var 2023-04-29 20:33:23 +04:00
assets/fonts feat: update to Next 13.3 2023-04-24 15:10:49 +04:00
components fix: fonts 2023-04-25 20:15:09 +04:00
config feat: add t3-env for env var 2023-04-29 20:33:23 +04:00
content feat: update to Next 13.3 2023-04-24 15:10:49 +04:00
hooks feat: update to Next 13.3 2023-04-24 15:10:49 +04:00
lib feat: add t3-env for env var 2023-04-29 20:33:23 +04:00
pages/api/auth fix: temp disable route handler for next-auth 2023-04-24 20:46:36 +04:00
prisma feat: upgrade to next 13.2 2023-03-03 19:17:05 +04:00
public feat: update to Next 13.3 2023-04-24 15:10:49 +04:00
styles feat: update to Next 13.3 2023-04-24 15:10:49 +04:00
types feat: upgrade to next 13.2 2023-03-03 19:17:05 +04:00
.commitlintrc.json chore: add commitlint and prettier 2022-11-22 12:55:03 +04:00
.editorconfig chore: add commitlint and prettier 2022-11-22 12:55:03 +04:00
.env.example refactor: remove unused postmark code 2022-12-05 15:29:30 +04:00
.eslintrc.json feat: update to Next 13.3 2023-04-24 15:10:49 +04:00
.gitignore feat: contentlayer (#22) 2022-11-17 21:43:12 +04:00
.nvmrc deps: update node version 2022-11-04 08:18:35 +04:00
.prettierignore feat: upgrade to next 13.2 2023-03-03 19:17:05 +04:00
contentlayer.config.js feat: update to Next 13.3 2023-04-24 15:10:49 +04:00
env.mjs fix: make NEXTAUTH_URL optional 2023-04-29 21:03:54 +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: add t3-env for env var 2023-04-29 20:33:23 +04:00
package.json feat: add t3-env for env var 2023-04-29 20:33:23 +04:00
pnpm-lock.yaml feat: add t3-env for env var 2023-04-29 20:33:23 +04:00
postcss.config.js feat: initial commit 2022-10-26 17:18:06 +04:00
prettier.config.js feat: add t3-env for env var 2023-04-29 20:33:23 +04:00
README.md docs: update readme 2026-04-20 16:01:37 +04:00
tailwind.config.js feat: update to Next 13.3 2023-04-24 15:10:49 +04:00
tsconfig.json feat: upgrade to next 13.2 2023-03-03 19:17:05 +04:00

Note

This project has been officially archived and will no longer receive updates. See the Templates directory for Next.js starters.

I started this project when the Next.js App Router was in public preview. Because the framework has since stabilized and undergone significant architectural changes, the code in this repository:

  • Does not reflect current best practices.
  • May contain deprecated APIs or patterns.
  • Is not recommended for use in production environments.

Taxonomy

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

About this project

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.

Features

  • New /app dir,
  • Routing, Layouts, Nested Layouts and Layout Groups
  • Data Fetching, Caching and Mutation
  • Loading UI
  • Route handlers
  • Metadata files
  • Server and Client Components
  • API Routes and Middlewares
  • Authentication using NextAuth.js
  • ORM using Prisma
  • Database on PlanetScale
  • UI Components built using Radix UI
  • Documentation and blog using MDX and Contentlayer
  • Subscriptions using Stripe
  • Styled using Tailwind CSS
  • Validations using Zod
  • Written in TypeScript

Roadmap

  • Add MDX support for basic pages
  • Build marketing pages
  • Subscriptions using Stripe
  • Responsive styles
  • 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
  4. Cannot use opengraph-image.tsx inside catch-all routes

Why not tRPC, Turborepo 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 pnpm:
pnpm install
  1. Copy .env.example to .env.local and update the variables.
cp .env.example .env.local
  1. Start the development server:
pnpm dev

License

Licensed under the MIT license.