ochaloup / bonjour

Microservice using NodeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:JavaScript 99.8%Language:HTML 0.2%