Shopper is a sleek and user-friendly e-commerce website designed to provide a seamless online shopping experience. Built with React, Node.js, Express, and CSS, Shopper offers a modern interface and efficient backend functionality.
- User Authentication: Secure login and registration system for users.
- Product Listings: Browse and search through a variety of products.
- Shopping Cart: Add, remove, and manage items in the cart.
- Order Management: Place and view order history.
- Responsive Design: Optimized for both desktop and mobile devices.
- Frontend: React, CSS
- Backend: Node.js, Express
- Database: MongoDB
- Clone the repository:
git clone https://github.com/yourusername/shopper.git
- Navigate to the project directory:
cd shopper
-
Navigate to the frontend directory:
cd client
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
Navigate to the backend directory:
cd ../server
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file in the backend directory with the following example configuration:PORT=4000 MONGODB_URI=your_mongodb_uri
-
Start the server:
npm start
- Environment Variables: Ensure you set up the
.env
file in the backend directory with the required environment variables.
- Frontend: Access the website at
http://localhost:3000
(or your specified port). - Backend: The API server runs on
http://localhost:4000
.
We welcome contributions to improve Shopper. To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License.
For any inquiries or feedback, please reach out to [email protected].
Thank you for using Shopper! Happy shopping!