We need a service that will provide config info at runtime.
The idea for this came from the _environment files in each Ionic based app. I'd rather not store the IP addresses for our backend servers in our repo. We need an environmentService that will return the IP address/URL of the backend API for the environment we are running in.
That same service would work to return any runtime config info we might need. It'd be like a big key-value map attached to an REST API.
We need a service that will provide config info at runtime.
The idea for this came from the _environment files in each Ionic based app. I'd rather not store the IP addresses for our backend servers in our repo. We need an
environmentServicethat will return the IP address/URL of the backend API for the environment we are running in.That same service would work to return any runtime config info we might need. It'd be like a big key-value map attached to an REST API.