gennode_registrar

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i gennode_registrar

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

6.33 kB

Total Files

3

Last publish

Collaborators

  • nathanmersha