Ashniu123 / nestjs-customer-order-eventsourcing-cqrs

Nestjs project with simple customer and order cqrs using Kafka as EventBus
26 stars 5 forks source link

Nest Logo

Description

Nest framework TypeScript example for event-sourcing. This is a monorepo.

There are 2 main parts of the application:

No authentication, just plain and simple APIs.

Installation

$ npm install

Running the app

Prereqs

# development
$ npm run start <service>

# watch mode
$ npm run start:dev <service>

# production mode
$ npm run start:prod <service>

The services are under app/, each folder is a separate service.

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

License

Nest is MIT licensed.