Skip to content

howardsolutions/mern-pro-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

119 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IProShop eCommerce Platform

Features

  • Full featured shopping cart
  • Product reviews and ratings
  • Top products carousel
  • Product Pagination
  • Product Search feature
  • User Profile with orders
  • Admin Product management
  • Admin User management
  • Admin Order details page
  • Mark orders as delivered option
  • Checkout process (shipping, payment method, etc)
  • PayPal / credit card integration
  • Database seeder (products & users)

Usage

Env Variables

Rename the .env.example file to .env and add the following

NODE_ENV=development;
MONGO_URI=YOUR_MONGO_URI
JWT_SECRET=SUPER_JWT_SECRET
PRODUCT_LIMIT=5
PORT=10000

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

Build & Deploy

# Create frontend prod build
cd frontend
npm run build

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

License

The MIT License

About

Fullstack Ecommerce Application with React, Node, Express, MongoDB, Global State with Zustand

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages