A full-stack monorepo boilerplate built with Turborepo, featuring NestJS 10 backend and Next.js frontend.
# Install dependencies
yarn install
# Run development servers
yarn dev
# Build all applications
yarn buildThis monorepo includes the following packages and applications:
api: NestJS 10 backend server with TypeORM and SQLite (runs on port 3001)web: Next.js frontend application with TypeScript and Tailwind CSS (runs on port 3000)
typescript-config: Shared TypeScript configurations for different environmentseslint-config: Shared ESLint configurations for Next.js and NestJS
music-management-system/
├── apps/
│ ├── api/ # NestJS 10 backend
│ └── web/ # Next.js frontend
├── packages/
│ ├── typescript-config/ # Shared TypeScript configs
│ └── eslint-config/ # Shared ESLint configs
├── package.json
└── turbo.json
yarn dev- Start all applications in development modeyarn build- Build all applications for productionyarn lint- Lint all applicationsyarn type-check- Run TypeScript type checkingyarn clean- Clean all build artifacts
- NestJS 10: Progressive Node.js framework
- TypeORM: Object-relational mapping
- SQLite: Lightweight database for development
- Swagger: API documentation
- Next.js 16: React framework with App Router
- TypeScript: Type safety
- Tailwind CSS: Utility-first CSS framework
- ESLint: Code linting
- Turborepo: Monorepo build system
- Yarn Workspaces: Package management
- TypeScript: Shared type definitions
- ESLint: Code quality
-
Clone and install
git clone <repository-url> cd music-management-system yarn install
-
Start development
yarn dev
-
Access applications
- Frontend: http://localhost:3000
- Backend API: http://localhost:3001
# Build all applications
yarn build
# Start production servers
cd apps/api && yarn start:prod
cd apps/web && yarn startThis boilerplate provides a solid foundation for building scalable applications. Consider adding:
- Database configuration for production
- Authentication & authorization
- API endpoints for your business logic
- Frontend components and pages
- Testing setup (Jest, Cypress)
- CI/CD pipeline
- Docker containerization
This is a boilerplate project. Feel free to customize it according to your project requirements.