Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 816 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 816 Bytes

MERN E-COMMERCE TUTORIAL

Prerequisite

  1. Must have basic knowledge of Node, React, Express, MongoDB . I have made tutorial on each technology on YouTube , make sure to check it out. Links are Below respectively
  2. Node
  3. React
  4. Express
  5. MongoDB
  6. RestApi

Install Dependencies

For Backend - npm i

For Frontend - cd frontend npm i

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