Magic glue that makes poplar compoments work together
- Load
config/environments/*.js
and creating environment specific helpers - Load
config/config.js
file - Load
config/initializers/*.js
- Load
api/middlewares/*.js
intopoplar.get('middlewares')
- Load
api/entities/*.js
intopoplar.get('entities')
- Load
api/controllers/*.js
intopoplar.get('controllers')
var glue = require('poplar-glue').init();
var apiV1 = glue.createFromApiBuilders('v1/*');
var controllers = poplar.get('controllers');
var entities = poplar.get('entities');
var middlewares = poplar.get('middlewares');
var commons = poplar.get('commons');
var env = poplar.get('env');
var config = poplar.get('config');
- poplar-glue is licensed under the MIT license