api-provider-ellipse
v0.7.1
Published
API provider for building api-core based APIs consumable via HTTP using the Ellipse framework.
Downloads
10
Readme
api-provider-ellipse
API provider for building api-core based APIs consumable via HTTP using the Ellipse framework.
Installation
npm install api-provider-ellipse
Usage
const Ellipse = require('ellipse'),
EllipseApiRouter = require('api-provider-ellipse').EllipseApiRouter;
const API = new Api(...);
const app = new Ellipse(),
router = new EllipseApiRouter(API);
router.apply(app);
app.listen(8080);