https://github.com/maemoonfarooq/ecommerce-website
E-Commerce Website Welcome to the E-Commerce Website project! This project is built using the MERN stack (MongoDB, Express, React, Node.js). It includes essential features such as user registration, login, an admin panel, a shopping cart, and a product listing page.
https://github.com/maemoonfarooq/ecommerce-website
ecommerce-website express mern-stack mongodb nodejs react
Last synced: about 2 months ago
JSON representation
E-Commerce Website Welcome to the E-Commerce Website project! This project is built using the MERN stack (MongoDB, Express, React, Node.js). It includes essential features such as user registration, login, an admin panel, a shopping cart, and a product listing page.
- Host: GitHub
- URL: https://github.com/maemoonfarooq/ecommerce-website
- Owner: MaemoonFarooq
- Created: 2024-06-21T12:33:24.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-21T12:49:16.000Z (11 months ago)
- Last Synced: 2025-01-28T15:41:05.814Z (4 months ago)
- Topics: ecommerce-website, express, mern-stack, mongodb, nodejs, react
- Language: JavaScript
- Homepage:
- Size: 12.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
E-Commerce Website
Welcome to the E-Commerce Website project! This project is built using the MERN stack (MongoDB, Express, React, Node.js). It includes essential features such as user registration, login, an admin panel, a shopping cart, and a product listing page.Features
User Authentication:
Registration
Login
Logout
Admin Panel:
Manage products
Manage users
Shopping Cart:
Add products to cart
View cart items
Update cart items
Remove items from cart
Product Listing Page:
Display all products
Search for productsInstallation:
Prerequisites
Node.js
MongoDBClone the Repository
git clone https://github.com/your-username/ecommerce-website.git
cd ecommerce-website
Backend Setup
Navigate to the backend directory:cd backend
Install dependencies:npm install
Create a .env file in the backend directory and add the following environment variables:env
Copy code
MONGO_URI=your_mongo_db_connection_string
JWT_SECRET=your_jwt_secret
Start the backend server:npm start
Frontend Setup
Navigate to the frontend directory:cd frontend
Install dependencies:npm install
Start the frontend development server:npm start
Usage
Open your browser and navigate to http://localhost:3000 to view the website.
Use the admin panel to manage products and users (access restricted to admin users).Technologies Used
Frontend:
React
Redux (for state management)
Axios (for HTTP requests)
Bootstrap (for styling)
Backend:
Node.js
Express
MongoDB (with Mongoose for ODM)
JWT (for authentication)
Contributing
Contributions are welcome! Please follow these steps to contribute:Fork the repository
Create a new branch (git checkout -b feature/your-feature)
Commit your changes (git commit -m 'Add some feature')
Push to the branch (git push origin feature/your-feature)
Open a Pull Request