System

Last updated 7 months ago

Environmental variables & JSON config

Boost is configured through an extended configuration file of ApiCore. In this section we wil be only describing properties that are not available in ApiCore module. Please refer to this ApiCore configuration page for further details.

In your environmental variables you can optionally specify a path to your configuration JSON file. By default, system will be looking for config.default.json in the root of your project.

CONFIG_PATH // Path to your configuration file

The JSON config may look something like this:

config.json
{
"server": { ... },
"jwt_secret": ...,
"database": { ... },
"mail": { ... }
}

‚Äč