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

Function boot

code/ch6/blog-password/app.js:94–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92
93const server = http.createServer(app)
94const boot = function () {
95 server.listen(app.get('port'), function () {
96 console.info(`Express server listening on port ${app.get('port')}`)
97 })
98}
99const shutdown = function () {
100 server.close(process.exit)
101}

Callers 2

app.jsFile · 0.70
index.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected