Seneca Web Adapter Connect
This is an adapter for seneca-web using hapi.
Installation
A peer dependency has been specified seneca-web
And of course hapi
must be present for this to work at all.
npm install --save hapi
npm install --save seneca-web
npm install --save seneca-web-adapter-hapi
Usage
Please refer to the seneca-web documentation on how to load routes.
You can require this module as the adapter when using the SenecaWeb plugin
const Seneca = const SenecaWeb = const Hapi = const seneca = senecaseneca