Skip to content

cheong38/nest-cqrs

Repository files navigation

Nest CQRS

Description

Nest framework TypeScript starter repository.

Installation

$ yarn install

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Test for Calling API

After Running the app,

$ curl -XPOST \
  localhost:3000/heroes/1/kill \
  -H "Content-Type: application/json" \
  -d '{"dragonId": "1"}'

About

Project to test CQRS with nestjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published