Backend #

Available since 2.8.0

The Backend class is the entry point of a Kuzzle application.

It must be instantiated in order to create a new application.

It gives access to the different features of the framework through its properties.


Constructor #

new Backend(name)

ArgumentsTypeDescription
name
string
Application name

The constructor also:

  • sets the global variable app to this instance,
  • defines the read-only global variable nodeId, holding the generated cluster node identifier.

Errors #