Skip to content

ARQUM21/forever

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›’ Forever - Full Stack MERN E-commerce Clothing Store

Forever E-commerce

A modern full-stack e-commerce clothing website built with React, Node.js, Express, MongoDB, and Tailwind CSS. Complete online shopping platform with user authentication, shopping cart, product filtering, and admin dashboard.

Live Demo


๐Ÿ”ฅ Keywords

MERN Stack E-commerce | React Shopping Cart | Node.js E-commerce | Online Clothing Store | Full Stack Web Application | MongoDB E-commerce | React Tailwind E-commerce | JavaScript Shopping Website | Responsive E-commerce | Admin Dashboard | Product Management


โœจ Features

๐Ÿ›๏ธ Customer Features

  • ๐Ÿ” User Authentication - Secure Login & Registration
  • ๐Ÿ›’ Shopping Cart - Add, Remove, Update Items
  • โค๏ธ Wishlist - Save Favorite Products
  • ๐Ÿ” Smart Search - Find Products Instantly
  • ๐Ÿท๏ธ Category Filter - Men, Women, Kids
  • ๐Ÿ‘• Type Filter - Topwear, Bottomwear, Winterwear
  • ๐Ÿ’ฐ Price Sorting - Low to High, High to Low
  • ๐Ÿ“ฆ Order Placement - Easy Checkout Process
  • ๐Ÿ“œ Order History - Track All Orders
  • ๐Ÿ’ต Cash on Delivery - Convenient Payment Option
  • ๐Ÿ“ฑ Fully Responsive - Mobile, Tablet, Desktop
  • ๐Ÿ”” Toast Notifications - Real-time Feedback
  • ๐Ÿ“ง Newsletter Subscription - Stay Updated

๐Ÿ‘จโ€๐Ÿ’ผ Admin Features

  • ๐Ÿ“Š Admin Dashboard - Complete Control Panel
  • โž• Add Products - Upload New Items with Images
  • ๐Ÿ“‹ Product List - View & Manage All Products
  • ๐Ÿ“ฆ Order Management - Track & Update Orders
  • ๐Ÿ–ผ๏ธ Cloudinary Integration - Cloud Image Storage

๐Ÿ› ๏ธ Tech Stack

Frontend Backend Database Styling Tools
React Node.js MongoDB Tailwind Cloudinary
Vite Express Mongoose CSS3 JWT

๐Ÿ“ธ Screenshots

๐Ÿ  Homepage

Homepage

๐Ÿ›๏ธ Product Collection

Collection

๐Ÿ“„ Product Details

Product Details

๐Ÿ›’ Shopping Cart

Cart

๐Ÿ‘ค User Login

Login

๐Ÿ“ฆ Place Order

Place Order

โž• Add Product (Admin)

Add Product

๐Ÿ“ Product List (Admin)

Product List

๐Ÿ“‹ Orders Page (Admin)

Orders


โš™๏ธ Installation & Setup

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB
  • Cloudinary Account

1. Clone the Repository

git clone https://github.com/ARQUM21/forever.git
cd forever

2. Install Dependencies

# Install Frontend Dependencies
cd frontend
npm install

# Install Backend Dependencies
cd ../backend
npm install

# Install Admin Dependencies
cd ../admin
npm install

3. Environment Variables

Create .env file in backend folder:

env

PORT=5000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key
CLOUDINARY_CLOUD_NAME=your_cloudinary_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret

Create .env file in frontend folder:

env

VITE_BACKEND_URL=http://localhost:5000

4. Run the Application

# Run Backend
cd backend
npm run dev

# Run Frontend (new terminal)
cd frontend
npm run dev

# Run Admin (new terminal)
cd admin
npm run dev

5. Open in Browser

Frontend: http://localhost:5173
Admin:    http://localhost:5174
Backend:  http://localhost:5000

๐Ÿ“ Folder Structure


forever/
โ”‚
โ”œโ”€โ”€ ๐Ÿ“‚ frontend/
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ src/
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ assets/
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ components/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ BestSeller.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ CartTotal.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Footer.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Hero.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ LatestCollection.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Navbar.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ NewsLetterBox.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ OurPolicy.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ProductItem.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ RelatedProducts.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ SearchBar.jsx
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ Title.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ pages/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ About.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Cart.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Collection.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Contact.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Home.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Login.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Orders.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ PlaceOrder.jsx
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ Product.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ context/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ShopContext.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ App.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ main.jsx
โ”‚   โ”‚   โ””โ”€โ”€ index.css
โ”‚   โ”œโ”€โ”€ .env
โ”‚   โ”œโ”€โ”€ .gitignore
โ”‚   โ”œโ”€โ”€ vercel.json
โ”‚   โ””โ”€โ”€ package.json
โ”‚
โ”œโ”€โ”€ ๐Ÿ“‚ admin/
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ src/
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ components/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Login.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Navbar.jsx
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ Sidebar.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ pages/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Add.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ List.jsx
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ Orders.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ App.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ main.jsx
โ”‚   โ”‚   โ””โ”€โ”€ index.css
โ”‚   โ”œโ”€โ”€ .env
โ”‚   โ”œโ”€โ”€ .gitignore
โ”‚   โ”œโ”€โ”€ vercel.json
โ”‚   โ””โ”€โ”€ package.json
โ”‚
โ”œโ”€โ”€ ๐Ÿ“‚ backend/
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ config/
โ”‚   โ”‚   โ”œโ”€โ”€ cloudinary.js
โ”‚   โ”‚   โ””โ”€โ”€ mongodb.js
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ controllers/
โ”‚   โ”‚   โ”œโ”€โ”€ cartController.js
โ”‚   โ”‚   โ”œโ”€โ”€ orderController.js
โ”‚   โ”‚   โ”œโ”€โ”€ productController.js
โ”‚   โ”‚   โ””โ”€โ”€ userController.js
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ middleware/
โ”‚   โ”‚   โ”œโ”€โ”€ adminAuth.js
โ”‚   โ”‚   โ”œโ”€โ”€ auth.js
โ”‚   โ”‚   โ””โ”€โ”€ multer.js
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ models/
โ”‚   โ”‚   โ”œโ”€โ”€ orderModel.js
โ”‚   โ”‚   โ”œโ”€โ”€ productModel.js
โ”‚   โ”‚   โ””โ”€โ”€ userModel.js
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ routes/
โ”‚   โ”‚   โ”œโ”€โ”€ cartRoute.js
โ”‚   โ”‚   โ”œโ”€โ”€ orderRoute.js
โ”‚   โ”‚   โ”œโ”€โ”€ productRoute.js
โ”‚   โ”‚   โ””โ”€โ”€ userRoute.js
โ”‚   โ”œโ”€โ”€ server.js
โ”‚   โ”œโ”€โ”€ .env
โ”‚   โ”œโ”€โ”€ .gitignore
โ”‚   โ”œโ”€โ”€ vercel.json
โ”‚   โ”œโ”€โ”€ package.json
โ”‚   โ””โ”€โ”€ package-lock.json
โ”‚
โ””โ”€โ”€ README.md

๐Ÿ”ฎ Future Enhancements

  • Payment Gateway Integration (Stripe/Razorpay)
  • Email Notifications
  • Product Reviews & Ratings
  • Multiple Payment Options
  • Discount Coupons

๐Ÿค Contributing

Contributions are welcome! Feel free to open issues and pull requests.

1. Fork the repository
2. Create your feature branch (git checkout -b feature/AmazingFeature)
3. Commit your changes (git commit -m 'Add some AmazingFeature')
4. Push to the branch (git push origin feature/AmazingFeature)
5. Open a Pull Request

๐Ÿ“ง Contact

Muhammad Arqum Tariq

GitHub LinkedIn Email


โญ Show Your Support

Give a โญ if you like this project!


๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with โค๏ธ by Muhammad Arqum Tariq

Visitors

About

Forever - A modern full-stack MERN e-commerce clothing store built with React, Node.js, Express, MongoDB & Tailwind CSS. Features include User Authentication, Shopping Cart, Product Filtering, Search, Admin Dashboard, Product Management, Order Tracking & Cash on Delivery.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages