Nest framework TypeScript starter repository implementing a Carbon Certifcate Application.
- git clone the repo
- Install mkcert, docker and docker-compose in your machine
cd
into the root directory and run the installer script./install.sh
(Support Unix based OS only)- Now you can reach the api by access nginx gateway through
https://carbon.local.com/
(PORT 80) - Configurations can be found in
.env.local
(root directory) - All Apis are configured using swagger
https://carbon.local.com/docs
- After
./install.sh
and the containers are up - npm install && npm run seed #logs will be shown to get some user emails that stored
- you can use any user email with password
P@ssw0rd
to login and get the user token
- Full development environment out of the box using
docker
anddocker-compose
- Full code coverage unit testing for the main parts
- Rate limiter using
@nestjs/throttler
- Local git hooks for
linting
andtesting
usingyorkie
andlint-staged
- Git actions workflow for PR reviews (
linting
andtesting
) - Some
SOLID
principles - Logging all requests and responses
# unit tests
$ npm run test
# test coverage
$ npm run test:cov