Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 746 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 746 Bytes

Install Dependencies

For Backend - npm i

For Frontend - cd frontend npm i

Run Project

First go to backend --> app.js:

  • Remove line 40-44

Then open 2 CLI with one at the root and other at frontend (cd ./frontend).

Backend - npm run dev

Frontend - npm run 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= MONGO_URI= STRIPE_API_KEY= STRIPE_SECRET_KEY= JWT_SECRET= JWT_EXPIRES_IN= JWT_COOKIE_EXPIRES_IN= SMTP_SERVICE = SMTP_EMAIL= SMTP_PASS= CLOUDINARY_CLOUD_NAME= CLOUDINARY_API_KEY= CLOUDINARY_API_SECRET= fill each filed with your info respectively

Contact For Admin Access