Next start
A basic Next.js starter.
> [!IMPORTANT] > All branches have been updated to the latest patched version of React / Next.js as of 2025-12-05. Be sure to update your deployments as well. See the notes [here](https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components) and [here](https://nextjs.org/blog/CVE-2025-66478) The project is written primarily in TypeScript, distributed under the MIT License license, first published in 2024. Key topics include: boilerplate, drizzle, eslint, next, next-auth.
Next Start
[!IMPORTANT]
All branches have been updated to the latest patched version of React / Next.js as of 2025-12-05. Be sure to update your deployments as well. See the notes here and here
A basic Next.js starter.
Stack
- Linting / Code Style
- Environment Variables
- Styles / UI
- Validation
- Forms
- Database
- Authentication
Branches
The main branch contains the entire setup. The following branches build on each other from top to bottom:
- base
- eslint / prettier settings
- nextui
- layout / styles
- dark / light theme toggle
- typesafe-env
- typesafe environment variables
- next-auth
- google oauth with no database
- drizzle / main
- basic drizzle schema with users / accounts / sessions
Setup
- Install dependencies:
shpnpm install
- Copy the
.envfile:
shcp .env.example .env
- Update the following values in the
.envfile:
shNEXTAUTH_SECRET=your-value-here GOOGLE_CLIENT_ID=your-value-here GOOGLE_CLIENT_SECRET=your-value-here
- Start the database:
shdocker compose up
- Migrate the database:
shpnpm run db:migrate
- Start the app:
shpnpm run dev
Resources
Contributors
Showing top 4 contributors by commit count.
