Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 616 Bytes

readme.md

File metadata and controls

40 lines (30 loc) · 616 Bytes

Installation

Go to frontend and backend directory to install packages

cd frontend
npm install
cd backend
npm install

Configuration

Create .env file inside backend directory and copy the following code

MONGO_URI=Your mongodb URI
GMAIL_USERNAME=your gmail address
GMAIL_PASSWORD=password created inside 'App Password' section under google accounts setting
PORT=8000
JWT_SECRET=a random secret key
FRONTEND_URL=http://localhost:3000

Run the App

Go to backend and frontend directory and start the server

cd backend
nodemon server
cd frontend
npm start