Skip to content

SauravDhakalsd/Ecommerce-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecommerce-Website

Description:

An ecommerce store built with MERN stack, and utilizes third party API's. This ecommerce store enable three main different flows or implementations:

  1. Buyers browse the store categories, products and brands.
  2. Sellers or Merchants manage their own brand component.
  3. Admins manage and control the entire store components.

Features:

  • Node provides the backend environment for this application.
  • Express middleware is used to handle requests, routes.
  • Mongoose schemas to model the application data.
  • React for displaying UI components.
  • Redux to manage application's state.
  • Redux Thunk middleware to handle asynchronous redux actions.

Run Locally:

1. Clone repo

2. Setup MongoDB

3. Run Backend

$ npm install

$ npm start

4. Run Frontend

Open New Terminal

$ cd frontend

$ npm install

$ npm start

Env Variables:

Make Sure to Create a config.env file in backend/config directory and add appropriate variables in order to use the app.

Essential Variables:

PORT=

DB_URI =

STRIPE_API_KEY=

STRIPE_SECRET_KEY=

JWT_SECRET=

JWT_EXPIRE=

COOKIE_EXPIRE=

SMPT_SERVICE =

SMPT_MAIL=

SMPT_PASSWORD=

SMPT_HOST=

SMPT_PORT=

CLOUDINARY_NAME=

CLOUDINARY_API_KEY=

CLOUDINARY_API_SECRET=

fill each filed with your info respectively

About

It is a MERN Ecommerce Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages