A modern, full-stack monorepo starter kit built with Turborepo. This project provides a foundation for building scalable web applications with a clear separation between frontend and backend services.
This monorepo is organized into the following structure:
frontend/: A Next.js application for the frontendbackend/: A Node.js application for the backend
eslint-config/: Shared ESLint configuration for consistent code style across the monorepo
- Build System: Turborepo for efficient monorepo management
- Frontend: Next.js for the web application
- Backend: Node.js for the server
- Language: TypeScript for type-safe code
- Code Quality:
- Node.js >= 18
- npm >= 10.2.4
- Clone the repository:
git clone https://github.com/yourusername/cristian-starter-kit.git
cd cristian-starter-kit- Install dependencies:
npm installTo start the development servers for all applications:
npm run devThis will start both the frontend and backend applications in development mode.
To build all applications:
npm run buildnpm run lint: Run ESLint across all packages and appsnpm run format: Format code using Prettiernpm run check-types: Run TypeScript type checking
This project supports Turborepo's Remote Caching feature, which can significantly speed up builds across your team and CI/CD pipelines. To enable it:
- Create a Vercel account if you don't have one
- Authenticate with Vercel:
npx turbo login- Link your repository to Remote Cache:
npx turbo link- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.