Angular Admin Setup

Follow these steps for initial setup and running your angular admin application.

Before you get started with the initial setup of Angular admin and running your application, make sure you have your Prerequisites are in place.

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

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

export const environment = { 
production: false, 
baseUrl: '<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/' 
productUrl: '<Your store base url>', // eg: '' 
relatedproductUrl : '<Your store base url>', // eg: '' 
blogUrl : '<Your store base url>', // eg: '' 
pluginUrl: '<Your API url>' // eg: ''

Now, Run your Application:

To run application in your respective browser, run the following command:

npm run large-serve

To build and deploy your Application refer to Front End Angular Admin Setup.

Last updated