Skip to content

Template: Nextjs, Nestjs microservices, kafka, docker-compose with multi-env, husky, lint-staged

Notifications You must be signed in to change notification settings

giaphm/template-nextjs-nestjs-microservices

Repository files navigation

Template nextjs-nestjs-microservices for starters

Description

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

Installation

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

Running locally

You can run local environment using terminal at the root directory:

$ make build-development
$ make start-development

Running staging

You can run staging environment using terminal at the root directory:

$ make build-staging
$ make start-staging

Running production

You can run production environment using terminal at the root directory:

$ make build-production
$ make start-production

About

Template: Nextjs, Nestjs microservices, kafka, docker-compose with multi-env, husky, lint-staged

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published