- Framework: Next.js
- Language - TypeScript
- Styling: Tailwind CSS
- UI Library: shadcn/ui
- State Management - Zustand
- Database: Postgres
- ORM: Prisma
- Auth - Better Auth
- Schema Validations - Zod
- formatter and linter - Biome
- Git hooks - Husky
Create a .env
file at the project root and copy the following content:
# Prisma Database Configuration
DATABASE_URL="postgresql://postgres:password@localhost:5432/nextjs-starter-template"
# Better Auth Configuration
BETTER_AUTH_SECRET="ShF5vSuOm5xWCgnuqvHsx6lj7VhceIlkT9NebI0QO0w="
BETTER_AUTH_URL="http://localhost:3000"
./start-database.sh
bun run db:push
bun install
bun run dev
Open: http://localhost:3000