New Project

Taxonomy

SaaS application and docs built using Next.js 13 and the app directory.

DeployView Demo

[!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.

GitHub Reposhadcn/taxonomy
LicenseView License
Use Cases
Starter
Documentation
Authentication
Stack
Next.js
Tailwind
Database
PlanetScale
Auth
NextAuth.js

Related Templates

Next.js Boilerplate

Get started with Next.js and React in seconds.
Next.js Boilerplate thumbnail

Next.js App Router Playground

Examples of many Next.js App Router features.
Next.js App Router Playground thumbnail

Monorepo with Turborepo

Learn to implement a monorepo with a two Next.js sites that has installed three local packages.
Monorepo with Turborepo thumbnail
DeployView Demo