GitPedia

Next start

A basic Next.js starter.

From w3cj·Updated June 20, 2026·View on GitHub·

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

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

  1. Install dependencies:
sh
pnpm install
  1. Copy the .env file:
sh
cp .env.example .env
  1. Update the following values in the .env file:
sh
NEXTAUTH_SECRET=your-value-here GOOGLE_CLIENT_ID=your-value-here GOOGLE_CLIENT_SECRET=your-value-here
  1. Start the database:
sh
docker compose up
  1. Migrate the database:
sh
pnpm run db:migrate
  1. Start the app:
sh
pnpm run dev

Resources

Contributors

Showing top 4 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from w3cj/next-start via the GitHub API.Last fetched: 6/25/2026