Application
Module: parch
Base application
Table of Contents
Constructor
Application
(
-
options
Parameters:
-
options
ObjectApplication config options See configuration
Methods
private
Normalizes constructor options
Parameters:
-
config
Objectuser passed config options
Returns:
Object:
final config option
private
Returns the project directory (cwd) from which Application is being instantiated
Returns:
String:
directory
runProjectInitializers
()
PromiseRuns all consumer initializers
Returns:
Promise
start
(
Promise-
port
starts listening on the defined port
Parameters:
-
port
Numberthe port to listen on. Default: 3000
Returns:
Promise
Properties
app
Object Restify service
Restify application instance