A Node.js server that returns a HTML page with a background image when the / endpoint is called
- Docker installed
- NPM installed
The following environment variables need to be set before the application can be run
export APP_PORT=3000Install dependencies
npm installStart the server
npm startGo to the following URL
localhost:<APP_PORT> e.g. localhost:3000
Build the image and run the container using Docker compose
npm run dockerGo to the following URL
localhost:<APP_PORT> e.g. localhost:3000
npm test