Skip to content

An Ecommerce (Shopping Website) made using MERN Stack.

Notifications You must be signed in to change notification settings

goldenryu2000/MERN-Ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN eCommerce Platform

eCommerce platform built with the MERN stack & Redux.

Features

  • Full featured shopping cart
  • Product reviews and ratings
  • Product pagination
  • User profile with orders
  • Checkout process (shipping, payment method, etc)
  • Admin user management
  • Admin product management
  • Admin Order details page
  • Mark orders as paid and delivered option (admin)
  • Database seeder (products & users)
  • Top products carousel
  • Product search feature

Usage

Env Variables

Create a .env file in then root and add the following

NODE_ENV = development
PORT = 5000
MONGO_URI = your mongodb uri
JWT_SECRET = 'abc123'

Install Dependencies (frontend & backend)

npm install
cd frontend
npm install

Run

# Run frontend (:3000) & backend (:5000)
npm run dev

# Run backend only
npm run server

Seed Database

You can use the following commands to seed the database with some sample users and products as well as destroy all data

# Import data
npm run data:import

# Destroy data
npm run data:destroy
Sample User Logins

admin@example.com (Admin)
123456

john@example.com (Customer)
123456

jane@example.com (Customer)
123456

Screenshots

  • Home Screen

    HomeScreen

  • Product Screen

    Product Screen

  • Cart Screen

    Cart Screen

  • Register Screen

    Register Screen

  • User Profile Screen

    User Profile Screen

  • Order Screen

    Order Screen

  • Admin Users Screen

    Admin Users Screen

  • Admin Orders Screen

    Admin Orders Screen

  • Admin Products Screen

    Admin Products Screen

About

An Ecommerce (Shopping Website) made using MERN Stack.

Topics

Resources

Stars

Watchers

Forks

Languages