Module: environment

Environment variables passed are stored here. All of these are required except stated otherwise.

Source:

Members

(static) accessTokenSecret

Secret to generate and sign custom access tokens.

Source:

(static) databaseUrl

URL of the MongoDB instance. Actually, a connection string.

Source:

(static) debug

Set to true if we're in debug mode.

In debug mode, we don't create workers since that makes the Node debugger very very slow.

Defaults to false.

Source:

(static) facebook

Facebook related parameters.

Properties:
Name Type Description
clientId string

Id of the Facebook application

token string

Token to pass when we're doing Facebook API calls on the backend

clientSecret string

Token to pass when we're doing Facebook API calls on the backend. In some calls, token is not enough.

Source:

(static) gameTokenSecret

Secret to generate and sign custom game tokens.

Source: