gx-ds-location v0.0.1
Description
Nest framework TypeScript starter repository.
Installation
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Docker
Docker is used to create a container that will run the server.
To build and run the service via Docker, use the following command:
npm run docker
Please make sure an older version of the Docker image is not already running.
You can check this by running docker container ls
and can stop a running container by running docker container stop <container_id>
To build the image, run the following command from the root directory:
docker build -t focus_digital/domain_services/location_service:<version> .
To test it, we will create a container that will help us run this image.
docker run -d -p 80:80 focus_digital/domain_services/location_service:<version>
Note: The package.json will by default contain the version 0.1Beta
To rename the container, use the following command:
docker rename <container_id> <new_name>
Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
License
Nest is MIT licensed.
10 months ago