/tenant-service

Microservices based on NestJS, Kafka and MongoDB

Primary LanguageTypeScript

Description

MongoDB database and Kafka Broker are required to run this microservice. It works together with Devops-Webapp, Building-Service und Device-Service

Installation

# Mongodb
$ docker run --name database -d -p 27017:27017 mongo

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

License

MIT licensed.