Skip to content

Latest commit

Β 

History

624 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ E-Commerce Website

A modern, full-stack e-commerce platform built with the MERN stack, featuring a dynamic and responsive user interface enhanced with advanced animations and streamlined styling.


✨ Features

  • User Authentication: Secure user registration and login.
  • Product Catalog: Browse products with descriptions and images.
  • Shopping Cart: Add, update, and remove items easily.
  • Order Management: Track your purchases and view order history.
  • User Profiles: Manage personal account info.
  • Responsive Design: Seamless across desktop, tablet, and mobile.
  • Dynamic UI/UX: Smooth animations and transitions.

πŸš€ Technologies Used

Frontend

  • React.js
  • Tailwind CSS
  • Framer Motion
  • GSAP
  • Lucide Icons
  • Axios
  • React Router DOM
  • React Toastify

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose

πŸ“¦ Installation

Prerequisites


Backend Setup

cd backend
npm install
# or
yarn install

Create a .env file inside backend/:

PORT=3000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key

Start the backend server:

npm start
# or
yarn start

Frontend Setup

cd frontend
npm install
# or
yarn install

Start the frontend dev server:

npm start
# or
yarn start

Typically runs at: http://localhost:3001


πŸ’‘ Usage

  1. Visit http://localhost:3001
  2. Register or login.
  3. Browse products, add to cart, and experience smooth transitions.

πŸ“‚ Project Structure

ecommerce-website/
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ controllers/    # API logic
β”‚   β”‚   β”œβ”€β”€ models/         # MongoDB schemas
β”‚   β”‚   β”œβ”€β”€ routes/         # API endpoints
β”‚   β”‚   └── server.js       # Main server file
β”‚   β”œβ”€β”€ package.json
β”‚   └── .env.example
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ public/             # Static assets (images, fonts)
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ assets/         # Local images/SVGs
β”‚   β”‚   β”œβ”€β”€ components/     # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ pages/          # Route components (Login, Register, etc.)
β”‚   β”‚   β”œβ”€β”€ store/          # State management (auth context, etc.)
β”‚   β”‚   β”œβ”€β”€ App.js          # Main app component
β”‚   β”‚   β”œβ”€β”€ index.js        # Entry point
β”‚   β”‚   └── index.css       # Global styles
β”‚   β”œβ”€β”€ tailwind.config.js
β”‚   β”œβ”€β”€ postcss.config.js
β”‚   └── package.json
└── README.md

🀝 Contributing

Contributions are welcome!
Steps:

  1. Fork the repository.
  2. Create your branch:
    git checkout -b feature/your-feature-name
  3. Commit changes:
    git commit -m "Add: Your feature name"
  4. Push:
    git push origin feature/your-feature-name
  5. Open a Pull Request.

πŸ“„ License

This project is licensed under the MIT License.
See the LICENSE file for more details.

About

πŸš€ MERN E-commerce App with Tailwind CSS UI, Framer Motion animations & GSAP scroll effects.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages