This is a personal Next.js App Router starter template for quickly bootstrapping projects with commonly used tools and patterns. It's designed to save setup time while maintaining flexibility for different project needs.
-
Database:
Drizzle ORMwithNeon(Postgres) integration -
Localization:
next-intlfor multi-language support -
Theming:
next-themeswith light/dark mode -
Server State:
React Querywith default caching and refetching strategies -
Dashboard Layout: reusable sidebar, header, footer, and utility UI components
-
Code Quality:
- Biome for formatting and linting
- Prettier for additional file extensions
- Integrated with Lefthook during commits
- Lefthook for Git hooks with pre-commit and commit-msg checks
Example Lefthook configuration:
-
Icons/UI:
shadcncomponents usingRadix UI,Lucideicons,Tailwind CSSutilities, andreact-icons
All providers (intl, theme, React Query, Nuqs adapter) are organized under a
single Providers component for easy setup.
- Authentication:
Better Authintegration - CSS-in-JS:
@tw-classed/reactwill be added soon
- Supports Docker-based development
- Exposed via Traefik for easy reverse proxy configuration
- Includes a lightweight dev service for local testing
Tip
Checkout teyfix/traefik for SSL-enabled local development
This repo is my personal template to quickly spin up Next.js projects with:
- Multi-language support
- Dashboard-ready UI
- Built-in theming and server state management
- Easy Docker + Traefik deployment
- Preconfigured code quality and commit workflow