Nest framework TypeScript starter repository.
$ npm install
# 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
npm i --save @nestjs/axios axios
npm install --save @nestjs/schedule
npm install --save-dev @types/cron
npm install --save uuid
npm i --save @nestjs/config
nest g resource transactions
Exemplos:
Consulta: https://webhook.site/#!/CHANGE_HERE
Envio: https://webhook.site/CHANGE_HERE
$ docker build -t luizimcpi/mock-transactions-authorizer .
$ docker run --name transactions-app -d -p 3000:3000 --restart always --env WEBHOOK_API_URL=https://webhook.site/bd5fa43a-a345-4ab0-8d3d-c8021258520c luizimcpi/mock-transactions-authorizer:latest