Welcome to Purchase-Now, an e-commerce website where you can shop for your favorite items conveniently online. This repository contains the complete source code for the website, along with instructions on how to set it up locally and access the live version .
- Dynamic Web Application: The website is architected and developed using Node.js, Express, and MongoDB for the back-end, harmonized with a React JS and Bootstrap front-end.
- User-Friendly Interface: Implemented using React JS and Bootstrap, ensuring compatibility across various devices for a seamless shopping experience.
- Rating Feature: Users can rate and review products, providing valuable feedback to both the sellers and other potential buyers.
- Add to Cart: A straightforward feature allowing users to easily add items to their cart for purchase.
To get a copy of this project up and running on your local machine, follow these steps:
-
Clone the Repository: Clone this repository to your local machine using
git clone
. -
Install Dependencies: Navigate to the project directory and install the necessary dependencies for both the backend and frontend. You can do this by running the following commands:
cd server npm install cd client npm install
-
Start the Server: Once the dependencies are installed, you have two options to start the server:
- Option 1: Start the backend and frontend separately:
# Start the backend server cd server npm run start # Start the frontend server cd client npm run start
- Option 2: Start both servers simultaneously using the development script:
# Start both backend and frontend concurrently cd server npm run dev
- Option 1: Start the backend and frontend separately:
-
Access the Website: Once the servers are up and running, you can access the website by navigating to
http://localhost:3000
in your web browser.
You can access the live version of the Purchase-Now e-commerce website here.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License. Feel free to modify and distribute it as per the terms of the license.
Enjoy shopping with Purchase-Now! If you have any questions or need further assistance, don't hesitate to contact us. Happy shopping! ๐๐
Feel free to copy and paste this into your README file!