This is a part of my another project Multi-Vendor eCommerce Solution with Spring, Angular and Flutter. You will find the complete project overview there.
This guide will walk you through the steps to clone and set up this Angular project from GitHub using Visual Studio Code.
Before you begin, ensure that you have the following installed on your system:
- Node.js and npm (Node Package Manager)
- Visual Studio Code (VS Code)
- Git
- Internet connection (for downloading dependencies)
- Open a terminal or command prompt.
- Navigate to the directory where you want to store the cloned project.
- Run the following command to clone the GitHub repository:
git clone https://github.com/hassanmahfuj/ShopSense-Angular.git
- If you haven't already, visit the Node.js official website.
- Download the LTS (Long Term Support) version of Node.js for your operating system.
- Run the installer and follow the prompts to install Node.js and npm.
- Open a terminal window.
- Navigate to the cloned project directory.
- Run the following command to install the project's dependencies:
npm install
This command will install all the required packages listed in the package.json
file.
- Open Visual Studio Code.
- Click on
File
>Open Folder
. - Navigate to the directory where you cloned the project and select the project folder.
- VS Code will open the project.
- In the VS Code terminal, navigate to the project directory if you're not already there.
- Run the following command to serve the Angular application:
ng serve
This will compile your application and start a local development server. By default, the application will be accessible at http://localhost:4200
.
- Open a web browser.
- Enter the following URL to access the Angular application:
http://localhost:4200
Congratulations! You've successfully cloned and set up an existing Angular project from GitHub using Visual Studio Code. You can now browse my amazing project.