Template for starting Nx with technologies: Nextjs, Nestjs microservices, kafka, docker-compose with multi-env, husky, lint-staged
This project using pnpm package manager in the root directory, and isolated services running with docker-compose
To install, you need to install root directory packages and each service's packages:
Root directory's package:
$ pnpm install
Service's packages:
$ cd apps/template-nestjs/template-nestjs/analytics && pnpm install
$ cd apps/template-nestjs/template-nestjs/backend && pnpm install
$ cd apps/template-nestjs/template-nestjs/communication && pnpm install
$ cd apps/template-nestjs/template-nestjs/email && pnpm install
You can run local environment using terminal at the root directory:
$ make build-development
$ make start-development
You can run staging environment using terminal at the root directory:
$ make build-staging
$ make start-staging
You can run production environment using terminal at the root directory:
$ make build-production
$ make start-production