Bonjour microservice using NodeJS
The detailed instructions to run Red Hat Helloworld MSA demo, can be found at the following repository: https://github.com/redhat-helloworld-msa/helloworld-msa
-
Open a command prompt and navigate to the root directory of this microservice.
-
Type this command to install the dependencies
npm install
-
Type this command to execute the application:
npm start
-
This will execute
bonjour.js
. -
The application will be running at the following URL: http://localhost:8080/api/bonjour
-
Build the Docker image:
docker build -t bonjour .
-
Run the Docker image:
docker run -p 8080:8080 bonjour
-
The application will be running at: http://localhost:8080/api/bonjour