No description, website, or topics provided.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Fixes rabbitmq url Feb 6, 2017
.dockerignore Adds docker file Feb 6, 2017
.eslintrc Sets the base Feb 3, 2017
.gitignore Adds jsdoc for doc generation Feb 3, 2017
Dockerfile Adds docker file Feb 6, 2017
README.md Updates readme for docker setup Feb 6, 2017
index.js Adds sample publish and rpc call Feb 3, 2017
package.json Adds jsdoc for doc generation Feb 3, 2017

README.md

microservice-template

A template for developing a microservice

Installation

  • git clone this repository
  • cd into the repository
  • Build the docker image by docker build -t microservice .

Run

  • Set environment variables like MONGO_URL and RABBITMQ_URL. Full list in the wiki.
  • docker run -e RABBITMQ_URL=<rabbitmq_url> -e MONGO_URL =<mongo_url> -i -t microservice

Test

npm test


Built by: Codebrahma