sotaaaaa / nest-cqrs

A Node.js CQRS and Event Source Microservice Exmaple using Nest.js, Event Store and Mongo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

This is an application that demonstrates how to use Nest.js, Event Store and Mongo to create a RESTful API microservice.

Prerequisite

The following tools must be installed on your computer:

  • Docker
  • Docker-Compose

Installation

$ npm install

Running the app in development

# start  event-store and mongodb
docker-compose up -d

# 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.

About

A Node.js CQRS and Event Source Microservice Exmaple using Nest.js, Event Store and Mongo


Languages

Language:TypeScript 96.5%Language:JavaScript 2.5%Language:Dockerfile 1.0%