MCPcopy Create free account
hub / github.com/azat-co/practicalnode / index.js

File index.js

code/ch8/rest-hapi/index.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const port = process.env.PORT || 3000
2const Hapi = require('hapi')
3const server = new Hapi.Server()
4server.connection({ port: port, host: 'localhost' })

Callers

nothing calls this directly

Calls 2

loadCollectionFunction · 0.85
bootFunction · 0.70

Tested by

no test coverage detected