A production-ready, full-stack monorepo boilerplate featuring Next.js, Drizzle ORM, and a modern TypeScript stack. It's designed to be a starting point for your own applications, with a focus on Developer Experience and best practices.
- Monorepo Structure powered by Turborepo and PNPM Workspaces
- Full-Stack Next.js 15 with App Router, Server Components, and Route Handlers
- Type Safety across all packages and apps with shared TypeScript configurations
- Modern Development Tools including Biome for linting and formatting
- Containerized Development with Docker and Docker Compose
- Modern Styling with Tailwind CSS 4 and shadcn/ui
- Type-Safe Database with Drizzle ORM and PostgreSQL
- Dependency Injection with a lightweight container
. βββ apps/ β βββ nextjs/ # Full-Stack Next.js Application βββ packages/ β βββ drizzle/ # Database schema and migrations β βββ libs/ # Shared utilities and types β βββ ui/ # Shared UI components from shadcn/ui β βββ typescript-config/ # Shared TypeScript configurations - Node.js (version 22.16.0 or later)
- PNPM package manager (10.12.1 or later)
- Docker and Docker Compose
- PostgreSQL (via Docker)
# Clone and install git clone <repository-url> && cd <repository-name> pnpm install # Setup environment and database cp .env.example .env docker-compose up -d pnpm db:push # Start development pnpm dev| Service | URL |
|---|---|
| Next.js | http://localhost:3000 |
pnpm dev # Start all applications in development mode pnpm build # Build all applications and packages pnpm lint # Lint all applications and packages using Biome pnpm format # Format code using Biome pnpm db:push # Push database schema changes pnpm db:generate # Generate database types and migrations pnpm db:migrate # Run database migrations pnpm db:studio # Open Drizzle Studio pnpm clean # Clean up build artifacts and node_modules pnpm type-check # Run TypeScript type checking pnpm test # Run testsMIT
Created by @axelhamil