Skip to content

Bayjid/mernecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce Website (MERN Stack)

I built an eCommerce website using Stripe as a payment method and the Cloudinary API for image uploading and display. The user can create an account, search for products, add items to the cart, confirm the order, pay with a debit or credit card, and write reviews of the products. Using the admin panel, admins can add, update, and delete products. The admin can also cancel orders.

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

DEV_PORT=

DEV_Local_DB_URI= DEV_Cloud_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

Author

Bayjid Hossain

LinkedIn Click Here