Angular Store Front

Follow this step-by-step guide for initial setup of your Angular Storefront and to run your application.

Initial Setups

Before setting up your Angular Storefront, make sure the Angular pre-requisites are ready.

Step-1 > Unzip your file and open it with your desired ide and then go to terminal and type,

 npm install

If NPM Install doesn't work, then try the command below:

npm install --force

Then, follow the steps given below.

Step-2 > Navigate to project folder → src→ environments → environment.ts after that ,

export const environment = {
production: false, 
storeUrl: '<Your API Base url>', // eg: 'http:/localhost:8000/backend/api/'
imageUrl:'<Your API url for image resize>', // eg: 'http:/localhost:8000/backend/api/media/image-resize' 
};

Now, Run your Application

For running your application in your respective browser run the following command:

ng serve

Post this, for Build and Deployment, refer to Angular Storefront under Front End Deployment Setup.

Last updated