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.
- 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.
- React.js
- Tailwind CSS
- Framer Motion
- GSAP
- Lucide Icons
- Axios
- React Router DOM
- React Toastify
- Node.js
- Express.js
- MongoDB
- Mongoose
- Node.js (LTS)
- MongoDB (local or MongoDB Atlas)
cd backend
npm install
# or
yarn installCreate a .env file inside backend/:
PORT=3000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_keyStart the backend server:
npm start
# or
yarn startcd frontend
npm install
# or
yarn installStart the frontend dev server:
npm start
# or
yarn startTypically runs at: http://localhost:3001
- Visit http://localhost:3001
- Register or login.
- Browse products, add to cart, and experience smooth transitions.
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
Contributions are welcome!
Steps:
- Fork the repository.
- Create your branch:
git checkout -b feature/your-feature-name
- Commit changes:
git commit -m "Add: Your feature name" - Push:
git push origin feature/your-feature-name
- Open a Pull Request.
This project is licensed under the MIT License.
See the LICENSE file for more details.