The App Unit

libflitter/app/AppUnit

exports:  class AppUnit

class AppUnit

extends:  libflitter/Unit

The AppUnit starts the Express HTTP server on the configured port and establishes the App context.

go(express app, function next)

overrides:  super.go()         returns:  undefined

Starts the Express HTTP server on the port defined by the config value server.port by calling app.listen(). This establishes the App context and calls the next function in the stack under it.

App Context

This context guarantees that the Express HTTP server has been started.

No Comments
Back to top