Nest Kuanto Kusta Challenge. Small API for Cart Shopping.
- Better to run using docker:
$ docker-compose up
-
For isolated services:
docker-compose up app
For NestJs API
-
For manage database:
docker-compose up postgres
PostgreSQLdocker-compose up pgadmin
PGAdmin
- After initialize, you must to run all db migrations to start to persist data. You can run:
docker-compose exec app yarn run migration:run
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov