The app constructor.
Specify the details, such as database address and the port to listen on. This is private information and won't be shown to user. See Config
Specify additional information, such as the URL, logo or the main color of the app. This is public information.
ConfigManager instance. It serves the config based on default values and the config object provided to the app constructor
A shorthand-way to create a new context: new app.Context()
.
The mongoDB client connected to the database specified in the app config
Mailer configured according to the app's config
The server that runs the REST API routing and allows to add custom routes etc
The Logger instance assigned to this application
The root subject of the app. It's where all subjects are derived from
A shorthand-way to create a new SuperContext: new app.SuperContext()
.
The collections defined within the given app.
The function that's used to generate translated versions of phrases
The manifest assigned to this app. Stores things like the app name, domain, logo
Performs an action within an app. The action is specified by the subject path, parametrized with params and ran under the given context
The current status of the app
Allows to listen for basic app status change events
Initializes all the collection fields, prepares all the hooks, connects to the database and starts the app, serving the REST API
Stops the HTTP server, disconnects from the DB
Generated using TypeDoc
The heart of your, well app. It all starts with
new App(...)