This is a starter monorepo for developing NestJS backend using Turborepo and PNPM.
This monorepo using PNPM as the package manager and Turborepo as the build system tool.
- apps/backend - main NestJS appplication
- libs/common - shared library
pnpm dlx create-turbo@latest -m pnpm -e https://github.com/cheewaio/turbo-nestjs-starter
make setup
# Adding runtime dependencies
pnpm add <package> --filter <projct>
# Adding development dependencies
pnpm add -D <package> -w
# Installing dependencies
pnpm install
# Build all packages
make build
# Clean build
make clean
# Development mode
make dev
# Production mode
make prod
# Unit tests
make test
# Unit tests with coverage
make coverage
# End-to-end tests
make e2e