ilms-express

0.1.0 • Public • Published

ilms-express

See ilms project to understand the microservice way.

ilms-express it's a factory which build an express route handler from a ilms service

Example

const ilms = require('ilms');
const ilmsExpress = require('ilms-express');
 
const ilmsService = ilms.get('users.get');
 
const expressHandler = ilmsExpress(ilmsService);
 
app.get('/users', expressHandler);
 
 

API

Package Sidebar

Install

npm i ilms-express

Weekly Downloads

0

Version

0.1.0

License

ISC

Last publish

Collaborators

  • stombre