Skip to content

sanskarsharma100/Ecommerce-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Ecommerce-store

A MERN Ecommerce app

Technologies Used

Front-End

Back-End

Database

How to Use

Install Modules

npm install
cd frontend && npm install

Env Variables

Place the following env variables backend/config/config.env

PORT=

DB_URI = 

FRONTEND_URL=

JWT_SECRET=

JWT_EXPIRE=

COOKIE_EXPIRE=

SMPT_SERVICE = 

SMPT_MAIL = 

SMPT_PASSWORD = 

SMPT_HOST=

SMPT_PORT=

CLOUDINARY_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=

Place the following env variable frontend/.env

VITE_SHOPEEFAST_API_URL =

Run Application

npm run dev
cd frontend && npm run dev