CQRS + Event Sourcing using redis as a read database and mongo as a event source database. All developed on top of NestJS using typescript.
If your looking for a GraphQL impl instead of an API Rest check this repository.
$ npm install
$ cp .env.example .env
Edit the file with your config data.
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
You can starts by checking 'src/users/users.controller.ts' and 'src/auth/auth.controller.ts'.
Just run
npm run reconstruct-view-db
- Author - Arker Labs