**A batteries-included starter for building production-ready Next.js apps with App Router, PNPM, Tailwind v4+, TypeScript, and a multi-stage Docker setup.**
This template gives you a minimal but opinionated foundation so you can focus on building, not configuring. It includes a clean project structure, built-in LLM-safe API example, production Dockerfile, and CI setup with pnpm caching. Deploy anywhere: Vercel, Fly.io, Render, or any container registry.
- Next.js 16.0.4 with App Router
- Next-Auth v5 complete open source authentication solution
- TypeScript preconfigured
- PNPM workspace-friendly setup
- Tailwind CSS v4+ with modern defaults
- LLM-safe API example (sanitized inputs + safe output handling)
- Multi-stage Production Dockerfile (tiny, fast, secure)
- CI workflow with pnpm caching (GitHub Actions ready)
- Opinionated minimal file structure for maximum clarity
- Ready for Vercel or containerized deployment
Make sure you have:
- Node.js ≥ 20
- PNPM ≥ 9
- Docker (optional) for production builds
pnpm ipnpm devThe app starts at http://localhost:3000.
Build the production image:
docker build -t next-starter .Run the app:
docker run -p 3000:3000 next-starterCreate .env.local:
# Example
NEXT_PUBLIC_SITE_NAME="Next.js Starter"You can deploy immediately:
vercel deployPush to any registry (GHCR, DockerHub, AWS ECR, etc.):
docker push <registry>/<namespace>/<name>PRs, issues, and suggestions are welcome! Feel free to fork and adapt this starter for your own needs.
MIT License.
