1.0.0 • Published 5 years ago

gennode_registrar v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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**
>
```javascript
let express = require('express');
let app = express();


registrar.register(app,(error,response,body)=>{});

Contributing

Want to contribute, then visit repo here

1.0.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago