/OpenBook-E-Commerce

An e-commerce progressive web application, built with mern stack. It has features like product buy, order management by admin, payment gateway, cart, checkout and lot more.

Primary LanguageJavaScriptOtherNOASSERTION

log

OpenBook - A E-Commerce for Book Selling Progressive Web App

Deploy

Website shields.io GitHub issues GitHub license GitHub version Open Source? Yes! Maintenance

It is an MERN ( mongodb, express, react, node) stack e-commerce app. This app includes lots of functionality like user dashboard, admin dashboard, create-product, create-category, manage order, buy books, profile management, cart , checkout with brain-tree payment gateway (sandbox) with credit card and paypal.

Tech Stack:

Generic badge Generic badge Generic badge Generic badge Generic badge

How to run locally?

1. git clone https://github.com/MasterKN48/OpenBook-E-Commerce
2. cd OpenBook-E-Commerce
3. npm i
4. cd client 
5. npm i
6. cd ..
# to run server you must have .env file in root project directory
# see below .env file structure and replace with your value
7. npm run dev
# project started

.env structure

MONGO_URI=<MONGO_DB_SERVER>
NODE_ENV=production  # `production` or `dev`
CLIENT_URL=<REACT_APP_SERVER>
PORT=8000
BRAINTREE_ID=<BRAINTREE_SANDBOX_ID>
BRAINTREE_PRIVATE=<BRAINTREE_SANDBOX_PRIVATE_ID>
BRAINTREE_PUBLIC=<BRAINTREE_SANDBOX_PUBLIC_ID>
JWT=<JWT_SECRET>

forthebadge forthebadge