API para controle de CPFs com 94.4% de test coverage
# install dependencies
$ pnpm install# development
$ pnpm run start
# watch mode
$ pnpm run start:dev# unit tests
$ pnpm run test
# test coverage
$ pnpm run test:cov# generate container build
$ docker build . -t apicpf
# execute and expose API in port 3000
$ docker run --rm -it -p 3000:3000 apicpfI used Prisma for the ease of integration with typescript and also for the good organization of the code due to the schema file.
NestJS was used because it has great integration with typescript, excellent documentation and encourages good practices.
It is faster than npm and has great storage efficiency.