Skip to content

ntxinh/nestjs-cqrs-es

Repository files navigation

Control flow

Controller -> Service -> Command/Query Bus -> Command/Query Handler -> Repository -> Entity -> Event -> Saga -> Event Handler

Swagger

Scripts

# Config database in .env file
npm start

Run debug

npm run debug
#Go to the Debug view, select the 'Attach by Process ID' configuration, then press F5 or click the green play button.
#VS Code should now list all of your running node processes.
#Select the node process that's started with the --inspect flag.