You can open the repository folder on your local machine to check the setup.
A new folder named node_modules is created. You should never modify anything in the node_modules folder. This folder is not part of the repository. All the third-party dependencies get installed in this folder. Whenever you run an npm command the dependencies are overridden in this folder.
During the npm install phase, a configuration file named environment.ts is automatically created. This is a runtime configuration for the application. The environment.ts file contains runtime specific variables that help the application to operate. You must set it up with the following parameters:
Specify the environment where you want the application to run.
Specify the URL of the default image to use when no image is found.
The default country code is "US".
The default locale is "en-US".
The default currency to use for guest users. Defaults to "USD".
The API name of the field on the product to use as the unique identifier in the application.
The login proxy to use to bypass CORS restrictions on login.
Specify the ID of the storefront record.
|To support the hash URL path, set it to true.
|Specify the Conga Platform instance where your tenant is onboarded. For example:
|Specify how many times the default cart will be repriced if pricing does not happen on the initial run.
|reCAPTCHA keys represent how reCAPTCHA Enterprise is configured for a website. For more information on how to create keys, see Create reCAPTCHA keys.
Specify the translation module name.
For more information on how to create module and translation and about local translation files, see Setting Up Multi-Language.
If you provide the module name created on the Conga Platform but there are no translation details available, then the system will display an application error.
|This is used for OAuth handshake.
|To redirect the UI app to the login screen for authentication and authorization.
Importing the app module into the root module
CommerceModule.forRoot - In the forRoot method of the CommerceModule declare the storefront that you want to use. For example, CommerceModule.forRoot('Tier 1')
This defines the Storefront for your application.