Clone the project
git clone https://github.com/Naresh-chandanbatve/decor.git
Go to the project directory
cd decor
Go to the Bckend directory
cd backend
Install dependencies
npm install
Start the server
npm run server
In another Terminal, First go to root directory
Install dependencies
npm install
Start the server
npm run dev
go to to any browser and paste http://localhost:3000
To run this project, you will need to add the following environment variables to your .env file
VITE_BACK_URL=http://localhost:5000
VITE_FRONT_URL=http://localhost:5173
MONGO_URL=your mongodb url
USER_SECRET=user secret
SESSION_SECRET=session secret
SMTP_HOST=smtp host
SMTP_PORT=smtp port
SMTP_SERVICES=smtp serice
SMTP_MAIL=smtp mail
SMTP_PASSWORD=smtp password
CLIENT_ID=google client id
CLIENT_SECRET=google client secret
BASE_URL=http://localhost:5000
FRONT_URL=http://localhost:5173
APP_ID=cashfree app id
SECRET_KEY=cashfree secret key