Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.11 KB

README.md

File metadata and controls

50 lines (37 loc) · 1.11 KB

Easy Drive

Web link
https://easy-drive-frontend.vercel.app/
Server link
https://car-rental-backend-flax.vercel.app/

How to run this repository on your machine

1. Clone repository
git@github.com:saiket-das/easy-drive.git
2. Navigate to the cloned directory
cd easy-drive

BACKEND

1. Navigate to the cloned directory
cd backend
2. Install npm dependencies
npm install 
3. Configuration

- Create a .env file in the root directory of the project. Follow .env.example file

- Add necessary configuration variables in the .env file. Example:

  NODE_ENV=development
  PORT=9000
  DATABASE_URL=mongodb_url
  BCRYPT_SALT_ROUNDS=12
  JWT_ACCESS_TOKEN_EXPRIRES_IN=10d
  JWT_ACCESS_SECRET=jwt_access_secret
  STRIPE_SECRET_KEY=stripe_secret_key
4. Run the project
npm RUN DEV

FRONTEND

1. Navigate to the cloned directory
cd frontend
2. Install npm dependencies
npm install 
3. Run the project
npm run dev