Backend service to serve the EShop.
Project needs a DB. You must install Docker to have a local DB running.
Once Docker is installed you can:
- Start DB with:
$ docker-compose up- Stop DB with:
$ docker-compose downIf you do not want to see the log from DB add a -d flag to the command.
Username: root
Password: root
To load test data run: npx fixtures -s -d test/fixtures
$ 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