Whenever you are developing a loopback application, you'll need to have multiple environments in order to control the impact of your development team on the other environments: dev, staging, prod...
- You need to have a root configuration file with all the trans environment datas
- Each environment specific configuration file has to be named with the same standard
- Each environment specific configuration file has to have only the informations of its own environment
{
"key1": "value1",
"key2": "value2",
"key3": {
"staging": "value3-staging",
"prod": "value3-prod",
}
}
{
"key1": "value1",
"key2": "value2",
"key3": "value3"
}