const service = new Microfleet({
name: 'http-server',
plugins: [
'validator', // essensial plugin
'logger', // essensial plugin
'hapi',
],
hapi: {
// server: Hapi server options
// plugins: list of plugins
// views: list of views (e.g. html templates)
}
})
await service.connect()
// service.hapi -- instance of Hapi server
@microfleet/plugin-hapi
4.0.1 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @microfleet/plugin-hapi
Repository
Weekly Downloads
97
Version
4.0.1
License
MIT
Unpacked Size
27.2 kB
Total Files
34