Nest framework TypeScript starter repository.
$ npm install# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prodGoto litecoin-node.ts and ensure that the host is set to node since this is the hostname exposed by docker's networking
You need to then build an image of the microservice by doing so
$ docker build -t litecoin-ms:latest .You also need to build the image of the node by going to litecoin-image and running
docker build -t ltc/litecoin:v0.21.2.1 .Once the images are built, run the compose command to start the containers
$ docker compose up# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov