GenNode Registrar
Author
Nathan Mersha
Installation
Gennode registrar is available on npm, type:
$ npm i gennode_registrar --save
and install it globally, now you can use it from the command line.
Description
This module registers service routes on your authorization server. This library is one part of a cluster modules as defined in gennode_authorization
Example
Create New Instance
let gennodeRegistrar = require('gennode_registrar');
let registrar = new gennodeRegistrar("serviceName","serviceCode","http://localhost:3400/auth/service");
Register Service Endpoints
let express = require('express');
let app = express();
registrar.register(app,(error,response,body)=>{});
Contributing
Want to contribute, then visit repo here