Proof-of-Concept (PoC) application that calls 2 other services.
For example for "Hello world!" this app would be the one providing calling 2 services to get "Hello" and "world", and it would add the "!" at the end.
Dependencies are defined in package.json
and package-lock.json
. To install the dependencies:
npm ci
To build the application:
npm build
To run the application:
npm start
Some Node.js-specific workarounds have to happen in the Dockerfile: adding
node_modules
to the path and installingreact-scripts
!
docker run --interactive --tty --rm \
--publish 3000:3000 \
YOUR_IMAGE_ID_HERE