Welcome to the E-Commerce Website repository! This platform is designed to provide a seamless shopping experience with modern web technologies and responsive design. 🚀
-
🛍️ Product Management:
- Dynamic product pages with server-side rendering (SSR) to enhance performance and SEO.
- Detailed product information, including reviews and ratings, to help customers make informed decisions.
-
🔐 User Authentication:
- Secure login and registration using JSON Web Tokens (JWT).
- Support for social login (Google, Facebook) for hassle-free account creation.
-
🛒 Shopping Cart:
- Add, update, and remove items with ease.
- Persistent cart state using localStorage/sessionStorage to enhance user experience.
-
📦 Order Management:
- Comprehensive order tracking and history.
- Integration with payment gateways like Stripe or Razorpay for smooth transactions.
-
📊 Admin Dashboard:
- Manage products and orders effectively.
- Gain insights with analytics to track sales and performance.
-
📱 Responsive Design:
- Optimized for mobile, tablet, and desktop devices, ensuring a consistent experience across all platforms.
-
Next.js:
- A powerful React framework offering Server-Side Rendering (SSR) and Static Site Generation (SSG).
- Ensures faster page loads, better SEO, and a smoother user experience.
-
Tailwind CSS:
- A modern utility-first CSS framework.
- Simplifies the creation of responsive and visually appealing designs with pre-defined utility classes.
-
React Query:
- A state management library for server-side data fetching and caching.
- Ensures data synchronization and improves API handling efficiency.
-
Node.js:
- A JavaScript runtime for building fast, scalable, and high-performance backend applications.
-
Express.js:
- A minimalist web framework for Node.js.
- Simplifies routing and middleware management for creating robust APIs.
-
MongoDB:
- A NoSQL database for managing application data.
- Offers flexibility to store structured, semi-structured, or unstructured data efficiently.
-
Mongoose:
- An ODM (Object Data Modeling) library for MongoDB.
- Facilitates schema validation, data modeling, and querying.
- NextAuth.js:
- A full-featured authentication solution for Next.js.
- Supports multiple providers (Google, Facebook, etc.) and secure session handling via JWT.
-
Stripe API:
- A robust platform for handling online payments.
- Enables multi-currency support and ensures secure transactions.
-
Razorpay:
- A payment gateway tailored for Indian businesses.
- Offers local payment options like UPI, wallets, and credit cards.
-
📂 Clone the Repository:
git clone https://github.com/your-username/ecommerce-website.git cd ecommerce-website
-
📦 Install Dependencies:
npm install # or yarn install
-
🔧 Configure Environment Variables:
Create a
.env.local
file in the root directory and add the required variables for API endpoints, database credentials, JWT secrets, and payment gateway keys. -
🚀 Run the Development Server:
npm run dev
Open http://localhost:3000 to view the application in your browser.
-
🔙 Start the Backend Server (if applicable):
Navigate to the
backend
directory and execute the following:cd backend npm start
- 🏠 Home Page: Browse featured products and categories at a glance.
- 📄 Product Page: View detailed information, including specifications, reviews, and ratings.
- 🛒 Cart Page: Add products to your cart, modify quantities, or remove items.
- 💳 Checkout Page: Securely complete payments and confirm your order.
- 📋 Admin Dashboard: Manage products, view orders, and track sales.
🏠 Home Page | 📄 Product Page |
---|---|
![]() |
![]() |
🛒 Cart Page | 📋 Admin Dashboard |
---|---|
![]() |
![]() |
We welcome contributions! Here’s how you can help:
- Fork the repository.
- Create a branch for your feature:
git checkout -b feature-name
. - Commit your changes:
git commit -m 'Add new feature'
. - Push to the branch:
git push origin feature-name
. - Submit a Pull Request with detailed notes on your changes.
For any queries or collaboration opportunities:
- Name: Mahesh Nayak
- Email: merndeveloper.mahesh@gmail.com
- Portfolio: https://maphy-e-commerce-app.vercel.app/