This is a full-stack E-Commerce application built using the MERN stack (MongoDB, Express, React, Node.js).
To get a local copy of this project up and running, follow these simple steps.
Make sure you have the following installed on your machine:
- Node.js
- npm (Node Package Manager)
- Git
-
Clone the repository
First, clone the repository to your local machine using Git:
git clone https://github.com/vinaytheprogrammer/E_Commerce
-
Navigate to the Frontend Directory
Change your directory to the frontend folder:
cd E_Commerce/frontend -
Install Frontend Dependencies
Install the required npm packages:
npm install
-
Start the Frontend Development Server
Start the frontend development server using:
npm start
-
Navigate to the Backend Directory
Open a new terminal window or tab, then navigate to the backend folder:
cd ../backend -
Install Backend Dependencies
Install the required npm packages:
npm install
-
Start the Backend Server
Start the backend server using nodemon:
nodemon server.js
- The frontend development server will be running on
http://localhost:3000. - The backend server will be running on
http://localhost:5000(or as configured in your environment variables).
Feel free to fork this repository and submit pull requests. Any contributions you make are greatly appreciated.
This project is licensed under the MIT License - see the LICENSE file for details.