An elegant and modern e-commerce platform built with React.js & Node.js.
This application allows users to register, sign in, browse products, add to cart, and prepare for checkout.
Itβs modular, responsive, and extendable, making it ideal for learning, portfolio showcase, or real-world use.
- πΈ Screenshots
- π Features
- π Project Structure
- π οΈ Tech Stack
- β‘ Prerequisites
- π§βπ» Installation & Setup
- π€ Contributing
- π License
- π User Authentication (Sign Up & Sign In)
- ποΈ Product Listing & Details Pages
- π§ Intuitive Navigation Bar
- π¨ Responsive UI with reusable React components
- βοΈ Redux Toolkit for State Management
- πΌοΈ Static Assets & Theming
- π¦ Backend-ready with Express & MongoDB models
Ecommerce-Website-main/
βββ client/ # Frontend (React.js)
β βββ public/ # Static assets (favicon, logos, manifest)
β βββ src/
β βββ api/ # API integration files
β βββ components/ # Reusable UI components
β β βββ cards/ # Product-related UI cards
β βββ pages/ # Page components (Home, Cart, Auth, etc.)
β βββ redux/ # Redux store & slices
β β βββ reducers/ # Reducer files
β βββ utils/ # Utility functions & constants
β β βββ Images/ # Project images
β βββ App.js # Root App component
β βββ index.css # Global styles
β βββ index.js # React entry point
β βββ README.md
β βββ package.json
β βββ package-lock.json
β βββ static.json
β
βββ server/ # Backend (Node.js / Express)
β βββ controllers/ # Business logic (Products, User)
β βββ middleware/ # Auth & token validation
β βββ models/ # MongoDB models (Orders, Products, Users)
β βββ routes/ # API routes
β βββ error.js # Error handling
β βββ index.js # Express app entry point
β βββ package.json
β βββ package-lock.json
β
βββ .gitignore
βββ README.md
βββ image.png # Preview image / screenshot
- Frontend:
- βοΈ React.js
- π¦ Redux Toolkit
- π¨ CSS (Responsive Design)
- Backend:
- π’ Node.js
- π Express.js
- π MongoDB (via Mongoose models included)
- Others:
- π Axios (API calls)
- π JWT (token-based authentication placeholder)
- Make sure you have installed:
- Node.js(>= 14.x recommended)
- npm or yarn package manager
-
Clone the repository:
git clone https://github.com/your-username/ecommerce-website.git cd ecommerce-website
npm install
npm startVisit http://localhost:3000 to view the app.
cd ../server
npm install
npm startRuns on: http://localhost:5000
- Contributions are welcome! π
- To contribute:
- Fork This Repo
- Create Your Feature Branch
git checkout -b feature/awesome-feature
- Commit Your Changes
git commit -m 'Add new feature' - Push To Your Branch & Open a Pull Request
This project is open-source and available under the MIT LICENSE.
If you like this project, donβt forget to star β the repository to show your support!



