Skip to content

eMart: MERN-based eCommerce platform for seamless online shopping and streamlined store management.

Notifications You must be signed in to change notification settings

AvishkaGihan/eMart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eMart eCommerce Platform

eMart Preview

Welcome to eMart, your ultimate destination for all your online shopping needs. Built with the powerful MERN stack (MongoDB, Express, React, Node.js) along with Redux for state management, eMart offers a comprehensive set of features for both administrators and customers, ensuring a seamless and enjoyable shopping experience.

Introduction

eMart is designed to provide users with a hassle-free and intuitive shopping experience. Whether you're a customer looking for your favorite products or an administrator managing your online store, eMart has you covered. With features like a full-featured shopping cart, product reviews, and an easy-to-use admin dashboard, eMart makes online shopping simple and enjoyable.

Features

  • Full featured shopping cart: Easily add, remove, and manage products in your cart.
  • Product reviews and ratings: Share your feedback and read reviews from other customers.
  • Top products carousel: Discover trending and popular products at a glance.
  • Product pagination: Navigate through large product catalogs effortlessly.
  • Product search feature: Find exactly what you're looking for with our robust search functionality.
  • User profile with orders: Keep track of your order history and manage your account details.
  • Admin product management: Add, edit, and delete products with ease from the admin dashboard.
  • Admin user management: Manage user accounts and permissions efficiently.
  • Admin Order details page: Gain insights into order details for better management.
  • Mark orders as delivered option: Keep customers informed about their order status.
  • Checkout process: Smooth and secure checkout process with options for shipping and payment method selection.
  • PayPal / credit card integration: Offer multiple payment options for a convenient shopping experience.
  • Database seeder: Seed your database with sample users and products for testing and demonstration purposes.

Getting Started

  1. Setup MongoDB: Create a MongoDB database and obtain your MongoDB URI from MongoDB Atlas.

  2. Setup PayPal Integration: Create a PayPal account and obtain your Client ID from PayPal Developer.

  3. Environment Variables: Rename the .env.example file to .env and add your environment variables:

NODE_ENV=development
PORT=5000
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
PAYPAL_CLIENT_ID=your_paypal_client_id
PAGINATION_LIMIT=8

Make sure to replace your_mongodb_uri, your_jwt_secret, and your_paypal_client_id with your actual credentials.

  1. Install Dependencies: Install dependencies for both frontend and backend:
npm install
cd frontend
npm install
  1. Run: Start the development server for both frontend and backend:
npm run dev

Build & Deploy

To deploy your application, follow these steps:

  1. Create Frontend Production Build:
cd frontend
npm run build
  1. Deploy to Hosting Platform: Deploy your backend and frontend builds to your preferred hosting platform.

Seed Database

To seed your database with sample data:

  1. Import Data:
npm run data:import
  1. Destroy Data:
npm run data:destroy

Contact

For any inquiries or assistance, feel free to contact the developer:

Start shopping with eMart today and experience the convenience of online shopping like never before!

About

eMart: MERN-based eCommerce platform for seamless online shopping and streamlined store management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published