Nest framework TypeScript starter repository.
$ yarn install
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
After Running the app
,
$ curl -XPOST \
localhost:3000/heroes/1/kill \
-H "Content-Type: application/json" \
-d '{"dragonId": "1"}'