A modern, responsive, and feature-rich full-stack e-commerce platform built using Node.js, Express.js, MySQL, JWT, HTML, CSS, and Vanilla JavaScript.
This project includes:
- User authentication system
- Product browsing & filtering
- Shopping cart & checkout flow
- Wishlist system
- Admin dashboard
- Order management
- Responsive modern UI
- Open source contribution support
π Live Website:
https://e-commerce-git-main-bhuvanshs-projects.vercel.app
- User Signup & Login
- JWT Authentication
- Refresh Token System
- Protected Routes
- Admin Role Support
- Product Listing
- Product Detail Page
- Search & Filtering
- Category Filtering
- Sorting System
- Recently Viewed Products
- Wishlist System
- Cart Drawer
- Full Cart Management
- Checkout Validation
- Order Placement
- Order History
- Address Management
- Shipping Calculation
- Tax Calculation
- Add Products
- Edit Products
- Delete Products
- Dashboard Overview
- User Management
- Order Monitoring
- Fully Responsive Design
- Modern Product Cards
- Toast Notifications
- Ripple Effects
- Smooth Animations
- Mobile Navigation
- Lazy Loaded Images
- Helmet Security Middleware
- Request Rate Limiting
- Input Validation
- JWT Authentication
- Secure Cart & Checkout Flow
- Backend Total Verification
| Technology | Usage |
|---|---|
| Node.js | Backend Runtime |
| Express.js | API Framework |
| MySQL | Database |
| JWT | Authentication |
| HTML5 | Frontend Structure |
| CSS3 | Styling |
| JavaScript | Frontend Logic |
| Vercel | Frontend Deployment |
E-commerce/
β
βββ .github/
β βββ ISSUE_TEMPLATE/
β βββ workflows/
β βββ hiero-bot.yml
β
βββ backend/
β βββ config/
β β βββ db.js
β β
β βββ controllers/
β β βββ authController.js
β β βββ orderController.js
β β βββ productController.js
β β
β βββ middleware/
β β βββ adminMiddleware.js
β β βββ authMiddleware.js
β β
β βββ models/
β β βββ Order.js
β β βββ Product.js
β β βββ User.js
β β
β βββ routes/
β β βββ authRoutes.js
β β βββ orderRoutes.js
β β βββ productRoutes.js
β β
β βββ services/
β β βββ order.service.js
β β
β βββ utils/
β β
β βββ .env.example
β βββ package.json
β βββ package-lock.json
β βββ schema.sql
β βββ server.js
β
βββ frontend/
β βββ assets/
β β
β βββ components/
β β βββ footer.html
β β βββ navbar.html
β β
β βββ scripts/
β β βββ about.js
β β βββ admin.js
β β βββ auth.js
β β βββ cart-drawer.js
β β βββ cart.js
β β βββ checkout.js
β β βββ components.js
β β βββ config.js
β β βββ dashboard.js
β β βββ hero.js
β β βββ home-init.js
β β βββ order.js
β β βββ ordersHistory.js
β β βββ product-actions-home.js
β β βββ product-actions.js
β β βββ product-cards-home.js
β β βββ product-render.js
β β βββ product-reviews.js
β β βββ product-variants.js
β β βββ product.js
β β βββ profile.js
β β βββ recentlyViewed.js
β β βββ related-products.js
β β βββ script.js
β β βββ shop-controls.js
β β βββ shop.js
β β βββ toast.js
β β βββ ui.js
β β βββ utils.js
β β βββ wishlist.js
β β
β βββ styles/
β β βββ admin.css
β β βββ auth.css
β β βββ base.css
β β βββ cart.css
β β βββ checkout.css
β β βββ components.css
β β βββ dashboard.css
β β βββ hero.css
β β βββ layout.css
β β βββ product-card.css
β β βββ product.css
β β βββ shop.css
β β βββ style.css
β β
β βββ about.html
β βββ admin.html
β βββ blog.html
β βββ cart.html
β βββ checkout.html
β βββ contact.html
β βββ dashboard.html
β βββ help.html
β βββ index.html
β βββ order.html
β βββ privacy.html
β βββ product.html
β βββ profile.html
β βββ shop.html
β βββ signin.html
β βββ signup.html
β βββ success.html
β βββ terms.html
β βββ wishlist.html
β
βββ public/
β
βββ .env.example
βββ .gitignore
βββ CONTRIBUTING.md
βββ LICENSE
βββ package.json
βββ package-lock.json
βββ README.md
git clone https://github.com/your-username/E-commerce.git
cd E-commerce
cd backend
4οΈβ£ Install Dependencies
npm install
5οΈβ£ Create Environment File Create a .env file inside the backend/ folder using .env.example:
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=your_password
DB_NAME=ecommerce
JWT_SECRET=your_secret_key
PORT=5000
FRONTEND_URL=http://127.0.0.1:5500
6οΈβ£ Import Database Schema
mysql -u root -p ecommerce < schema.sql
7οΈβ£ Start Backend Server
npm run dev
Backend will run at:
http://localhost:5000
Open the frontend/ folder in VS Code.
Use Live Server extension or any local server. Example using VS Code Live Server:
- Right click on index.html
- Click Open with Live Server
Frontend will run at:
http://127.0.0.1:5500
This project demonstrates:
- Full-stack web development fundamentals
- REST API development using Node.js & Express
- MySQL database integration and query handling
- JWT-based authentication & authorization
- Frontend UI/UX design and responsive layouts
- DOM manipulation and dynamic rendering
- Cart, checkout, and order management systems
- Admin dashboard development
- Real-world e-commerce application architecture
- API integration between frontend and backend
- Open-source project structuring and collaboration
- Debugging, validation, and error handling
This project is developed under the Anthropic Bots organization.
- Founder & Owner of Anthropic Bots
- Passionate about Full-Stack Development & Software Engineering
- Focused on building scalable real-world applications
- Active maintainer of this E-Commerce project
- Responsible for feature development, backend integration, bug fixes, and open-source improvements
- Contributing towards improving project structure, security, and overall user experience
π‘ This project is actively maintained and improved through open-source collaboration.
Contributions, suggestions, and improvements are always welcome.
This project is licensed under the MIT License and is free to use for learning and educational purposes.
β If you like this project, consider giving it a star on GitHub and supporting the repository!