All Reaction Commerce services follow the twelve-factor app methodology, including storing the configuration with the environment. We keep our configuration in the service's root directory in a .env file.
Never commit your .env file to git
TODO: add variables
The .env file is where we keep all the variables about the environment, and any custom variables your service might need. Run the bin/setup command from the project's root directory to create an .env file with default variables for local development.
In a deployed environment, you will need to set correct values for every variable listed here or the service will not start. They are all required.
Log level for the Reaction Logger.
Federated Gateway uses envalid to validate environment variables. Validation happens in /src/config.js and provides a validated config object.