Skip to content

Naresh-chandanbatve/decor

Repository files navigation

🏃 Run Locally

Clone the project

  git clone https://github.com/Naresh-chandanbatve/decor.git

Go to the project directory

  cd decor

For Backend Server

Go to the Bckend directory

  cd backend

Install dependencies

  npm install

Start the server

  npm run server

For Client

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

🔑 Environment Variables

To run this project, you will need to add the following environment variables to your .env file

Client Environment variables

VITE_BACK_URL=http://localhost:5000

VITE_FRONT_URL=http://localhost:5173

Server Environmnet variables

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

Releases

No releases published

Packages

No packages published

Languages