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.
For Backend - npm i
For Frontend - cd frontend
npm i
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=
LinkedIn Click Here