An API that returns the following JSON when the / endpoint is called
{"message":"Hello World!"}- Docker installed
- NPM installed
The following environment variables need to be set before the application can be run
export HELLO_WORLD_API_PORT=3000Install dependencies
npm installStart the server
npm startGo to the following URL
localhost:<HELLO_WORLD_API_PORT> e.g. localhost:3000
Build the image and run the container using Docker compose
npm run dockerGo to the following URL
localhost:<HELLO_WORLD_API_PORT> e.g. localhost:3000
npm test