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.
$ npm install
KAFKA_BROKERS
env variable.CUSTOMERS_VIEW_SVC_MONGO_URI
and ORDERS_VIEW_SVC_MONGO_URI
env variables.# 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.
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
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.
Nest is MIT licensed.