Skip to content

redhat-helloworld-msa/bonjour

Repository files navigation

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

About

Microservice using NodeJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages