Start

A few things to get started.

Why another starter kit?

I build a lot, but I hate recreating boilerplate code.

I also wanted a separation between the boilerplate code and the actual logic that is specific to application, so I moved a lot of that into the .kit folder


Whats in the stack?

  • Next.js
  • TypeScript
  • Tailwind CSS

Libraries and integrations

  • tRPC β€” API
  • Better Auth β€” authentication
  • Drizzle ORM (default driver w/ Neon DB) β€” Database ORM
  • Nuqs β€” search params
  • T3 Env β€” type-safe ENV variables
  • Shadcn ready β€” components

Features

  • Authentication
  • Type-safe API procedures
  • Basic authorization w/ API middleware
  • Admin roles (w/ authorization)
  • Type-safe search params
  • A few small things that I really hate setting up every time for new projects but feel kind of important to do.

Instructions

Required

  • Enable auth by adding Github client info to .env file.
  • The Neon DB driver is pre-configured. If this is not your preferred DB provider, you will need to change the different driver.

Suggestions

  • Add better-auth plugins before running pnpm db:auth to update schema.