Skip to content

Simple NodeJS application for demonstration of work through ExpressGateway as a microservice

Notifications You must be signed in to change notification settings

xxx87/docker-micro-1

Repository files navigation

node-api-app1

Simple NodeJS application for demonstration of work through ExpressGateway as a microservice

Link to ExpressGateway repo

Get started

To Run App

  • Install dependencies
npm i
  • Run app
npm run
  • Run tests
npm run test
  • check lint errors
npm run lint

Docker steps

  • Build Docker image
docker build -t <some-fency-name> .
  • Run docker container
docker run -it --name <name-of-container> <some-fency-name>
  • To stop
docker stop <name-of-container>

Docker compose steps

  • Build images
docker-compose build
  • run all containers
docker-compose up -it
  • To stop
docker-compose down

Basic routes:

About

Simple NodeJS application for demonstration of work through ExpressGateway as a microservice

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published