daniilrobnikov / proshop

Home Page:http://proshop-x1af.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ProShop

eCommerce platform built with the MERN Stack

App Screenshot

Front-End

Libraries

Back-End

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 a delivered option
  • Checkout process (shipping, payment method, etc.)
  • PayPal / credit card integration with react-paypal-js
  • Database seeder (products & users)

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

NODE_ENV PORT

MONGO_URI

JWT_SECRET

PAYPAL_CLIENT_ID

API Reference

Basic CRUD functionality for products

Get all products

  GET /api/products
Parameter Type Description
api_key string Required. Your API key

Get product

  GET /api/products/${id}
Parameter Type Description
id string Required. Id of product to fetch

Usage

Run Locally

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

Build & Deploy

# Create production build
npm run heroku-postbuild

Database Seeder

# Import sample data
npm run data:import
# Delete sample data
npm run data:destroy

Disclaimer

This project is a part of a MERN Stack course and is not intended for selling real-life products or making transit payments

About

http://proshop-x1af.herokuapp.com


Languages

Language:JavaScript 98.6%Language:HTML 0.8%Language:CSS 0.5%Language:Procfile 0.0%