Microservice using NodeJS
JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
public/swagger
.eslintrc.json
.gitignore
Dockerfile
LICENSE
Readme.md
bonjour.js
package-lock.json
package.json

Readme.md

bonjour

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

Execute bonjour locally

  1. Open a command prompt and navigate to the root directory of this microservice.

  2. Type this command to install the dependencies

     npm install
    
  3. Type this command to execute the application:

     npm start
    
  4. This will execute bonjour.js .

  5. The application will be running at the following URL: http://localhost:8080/api/bonjour

Execute bonjour locally with Docker

  1. Build the Docker image:

     docker build -t bonjour .
    
  2. Run the Docker image:

     docker run -p 8080:8080 bonjour
    
  3. The application will be running at: http://localhost:8080/api/bonjour