I'm working on an Angular front-end application that displays an UI with a consistent layout and interface but an unique company logo, colors and other variables. The goal is to create an Web application which can be used by multiple companies. Each company uses the application the same way and has the same UI but his unique company logo, colors,... displayed.
Due to scalability each company can't have his own application build so everything must be dynamically assigned upon login.
Currently each company has his unique login so my idea was to create different profiles in the front-end and then upon login a call is sent to the back-end to get the profile that has to be displayed. However I'm trying to find the best way to create such a system.
Currently I have a global constants file that is used by the entire application. These values need to be dynamic. (maybe multiple global constants files?)
export class GlobalConstants {
public static displayName = 'Company A';
public static logo = '../../../../assets/companya/logo.png';
public static primaryColor = '#311b92';
public static secundaryColor = '#200b92';
}