Spurtcommerce
DocumentAPI ReferenceAdd-ons
Docs
Docs
  • Overview
  • Getting Started
    • Introduction
    • Prerequisites
      • Server Configuration (Minimal)
      • Set up development environment
    • Development and Setup
      • API Setup
      • Environment Configuration
      • Store Front Setup
        • Angular Store Front
        • React Store Front
        • Flutter store front
      • Angular Admin Setup
      • Angular Vendor Setup
  • API Deployment and Setup
    • Deployment From Source Code
    • Deployment From Docker
    • Troubleshooting
  • Frontend Deployment Setup
    • Store Front Setup
      • React Store Front
      • Angular Store Front
      • Flutter Store Front
      • Troubleshooting
  • Front End Angular Admin Setup
    • Angular Admin
    • Troubleshooting
  • Front End Angular Vendor Setup
    • Angular Vendor
    • Troubleshooting
  • For Developers
    • Architecture
      • Back End API Architecture
      • Front-end Architecture
      • Technology stack
    • Performance
      • Benchmark
      • Image Optimzation
      • Load Balancing
      • RabbitMQ
      • Clustering
      • Database Load Balancing
    • Security
    • Testing Reports
      • Unit Testing Report
      • E2E Test Report
      • Vulnerability Test Report
        • Spurt Admin Report
        • Spurt Store Report
        • Spurt Vendor Report
      • Functional Test Report
  • How to Guides
    • Store Language Setup
    • Addon Management
    • Spurtcommerce Microservices Deployment
Powered by GitBook
On this page
  • Initial Setups
  • Now, Run your Application
  1. Getting Started
  2. Development and Setup
  3. Store Front Setup

Angular Store Front

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

PreviousStore Front SetupNextReact Store Front

Last updated 7 months ago

Initial Setups

Before setting up your Angular Storefront, make sure the 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 under Front End Deployment Setup.

Angular pre-requisites
Angular Storefront