This is a comprehensive TypeScript monorepo template using Turborepo, featuring a modern full-stack application setup.
Create a new project using this template:
npx create-turbo@latest --example https://github.com/rwjblue/turbo-repo-rwjblue-kitchen-sink
This Turborepo includes the following packages and apps:
@repo/db
: Database utilities and configurations@repo/models
: Shared TypeScript interfaces and types@repo/eslint-config
: Shared ESLint configurations@repo/typescript-config
: Shared TypeScript configurations
playwright-frontend
: E2E testing setup for the frontendcommands
: Custom scripts for the monorepo
The entire monorepo is built with:
- TypeScript for type safety
- Turborepo for monorepo management
- Vite for frontend development
- Fastify for backend API
- Vitest for unit testing
- Playwright for E2E testing
This template comes preconfigured with:
- ESLint for code linting
- Prettier for code formatting
- Vitest for unit testing
- Playwright for end-to-end testing
build
: Build all apps and packagesdev
: Start development serverslint
: Run ESLintlint:fix
: Fix ESLint issuestest
: Run unit teststest:ci
: Run tests in CI modee2e
: Run end-to-end tests