virtual-coder265 / Online-store

A feature rich e-commerce platform built with MERN stack. Features a complete user order tracking and payment system integrated with the help of the PayPal Payments and Stripe.js API.

Home Page:https://storefrontwebapp.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StoreFront - An E-Commerce Platform

Main View

screenshot

Features

  • Product pagination + reviews/ratings
  • Checkout process involving a sequence of screens and the PayPal Payments API to may for created orders
  • Designated admins can sign in and make product/user/order changes straight to the DB
    • This allows the store owner to mark orders as delivered and manage items inventory/stock aswell

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'
PAYPAL_CLIENT_ID = your paypal client id

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

Seeding The Database

The following commands (defined in package.json "scripts") can be used to wipe the user and product data or overwirte it with sample data.

# Fill db with sample users and products
npm run data:import

# Destroy data completely
npm run data:destroy
Sample User Logins

admin@example.com (Admin)
123456

john@example.com (Customer)
123456

jane@example.com (Customer)
123456

About

A feature rich e-commerce platform built with MERN stack. Features a complete user order tracking and payment system integrated with the help of the PayPal Payments and Stripe.js API.

https://storefrontwebapp.herokuapp.com/


Languages

Language:JavaScript 98.9%Language:HTML 0.6%Language:CSS 0.4%