API para conversão de moedas desenolvido utilizando a técnica de TDD com as tegnologias: NestJS, Typescript, Mongodb. Acompanhe o processo de desenvolvimento no youtube.
$ docker-compose up
# listening in http://localhost
# unit tests
$ npm run test
# test coverage
$ npm run test:cov
GET
http://localhost/exchange/?from=USD&to=BRL&amount=1
POST
http://localhost/currencies/
Put values in body:
currency=BRL
value=0.2
PATCH
http://localhost/currencies/BRL/value
Put value in body:
value=0.22
DELETE
http://localhost/currencies/BRL
Nest is MIT licensed.