Skip to content

Shoppy is a fully functional e-commerce site built with the MERN stack (MongoDB, Express.js, React.js, Node.js). It features product browsing, cart management, and secure checkout, providing a seamless online shopping experience.

Notifications You must be signed in to change notification settings

kuldeep2040/E-Commerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

E-Commerce Website 🛒

An advanced e-commerce platform built using the MERN stack (MongoDB, Express, React, Node.js), offering a seamless shopping experience for users and robust management features for admins.

🛠️ Features

For Users

  • User Authentication: Secure login and registration using JWT.
  • Product Browsing: Search and browse products by categories, brands, and keywords.
  • Product Details: View product information, reviews, and ratings.
  • Cart Management: Add, edit, or remove items from the shopping cart.
  • Order Placement: Checkout securely with integrated payment options.
  • Responsive Design: Optimized for desktops, tablets, and mobile devices.

For Admins

  • Product Management: Add, edit, or remove products.
  • Order Management: Track orders and update shipping statuses.
  • User Management: View and manage user information.
  • Dashboard: View essential statistics like total sales, products, and orders.

🔧 Tech Stack

  • MongoDB: NoSQL database for storing product, user, and order information.
  • Express.js: Web framework for Node.js, handling API routes and server-side logic.
  • React.js: Frontend framework for building a dynamic and responsive user interface.
  • Node.js: Backend JavaScript runtime environment.
  • JWT (JSON Web Tokens): For secure authentication and session management.
  • Payment Integration: For secure payments and transactions.

🚀 How to Run Locally

Prerequisites

  • Node.js installed on your machine.
  • MongoDB Atlas or local MongoDB server.

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/ecommerce-mern.git
    cd ecommerce-mern
    
  2. Install the dependencies:
    npm install
    cd frontend
    npm install
  3. Add environement varibles
    PORT = 5000
    MONGO_URI = your-mongodb-uri
    JWT_SECRET = your-secret-key
  4. Start the development server:
     npm run server
     cd frontend
     npm start
    

The website will be running at Shoppy.

🛡️ Security

  • Data Validation: Inputs are validated to prevent SQL injection and XSS attacks.
  • HTTPS: Secure data transmission between client and server.
  • JWT Authentication: Safeguards user sessions.

About

Shoppy is a fully functional e-commerce site built with the MERN stack (MongoDB, Express.js, React.js, Node.js). It features product browsing, cart management, and secure checkout, providing a seamless online shopping experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published