Below is a list of all variables exposed by the bootstrap:
bootstrap.config // Exposes the application config
bootstrap.dev // Exposes a variable to check if we are running a dev version
bootstrap.mongo // Exposes the mongo class/models
bootstrap.graphql // Exposes the graphql schema
bootstrap.server // Exposes the express server
bootstrap.http // Exposes the HTTP connect server created by express
bootstrap.socket // Exposes the express-ws server
bootstrap.websocket // Exposes the websocket class/functions
bootstrap.sendgrid // Exposes the sendgrid class
bootstrap.redis // Exposes the redis class
bootstrap.graylog // Exposes the graylog class
bootstrap.prismic // Exposes the prismic client
Last modified | Monday, August 2, 2021, 1:14:31 PM UTC |
Last author | Glenn de Haan |
Commit ID | 9b8382d |