Chad-Next aims to be the most sigma Next.js starter kit available.
Be a chad and kickstart your next SaaS project with a powerful and modern tech stack.
- Bun - A fast all-in-one JavaScript runtime
- Next.js 14 - The React Framework for Production
- TailwindCSS and shadcn/ui - For rapid and beautiful UI development
- Tanstack Query and Devtools - Powerful asynchronous state management
- DrizzleORM - TypeScript ORM for SQL databases
- Lucia auth with GitHub OAuth - Flexible authentication solution
- Classic authentication
- Google OAuth
Follow these steps to set up your project using Chad-Next:
-
Clone this repository and navigate to your project directory.
-
Copy the environment variables:
cp .env.example .env
Fill in the required environment variables in the newly created
.env
file. -
Configure the database container name: Open
start-database.sh
and change the value ofDB_CONTAINER_NAME
on line 12 to"{your-project-name}-postgres"
. -
Install dependencies:
bun install
-
Set up the database:
bun drizzle-kit generate && bun drizzle-kit migrate
-
Start the development server:
bun run dev
-
In a separate terminal window, launch Drizzle Studio:
bunx drizzle-kit studio
Contributions to Chad-Next are welcome! Raise issues and make PRs, and the chad shall review in due time.
Built by shahank42.