niconicozha / example-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example-1

Example number 1 from Chapter 3 of Bootstrapping Microservices.

Chapter 3 of Bootstrapping Microservices gives instructions on how to package and publish this example using Docker and a private Docker registry.

You need Node.js installed to run this.

Before running install dependencies:

npm install

Set the PORT number (on MacOS/Linux): export PORT=3000

Set the PORT number (on Windows): set PORT=3000

To start the microservice:

node index.js

Or

npm start

Then point your browser at http://localhost:3000/video

About

License:Apache License 2.0


Languages

Language:JavaScript 87.0%Language:Dockerfile 13.0%