October 2018
Beginner to intermediate
478 pages
10h 8m
English
Typically, apps require environment-specific configuration. In this specific app, we have the base address of the RESTful API that should change across environments.
Angular provides a basic solution for configuration through its environments feature. Let's use environment configuration with the RESTful API base address, as follows:
export const environment = { production: false, marketApiBaseUri: 'http://localhost:55564/api/',};
Read now
Unlock full access