- Navigate to backend directory and execute following command.
npm start
- Navigate to frontend directory and execute following command.
yarn start
- In backend/.env file
PORT = 3001
MONGO_DB = "mongodb://root:root@localhost:27017/SocialMediaApp?&authSource=admin"
JWT_KEY = "MERN"
- In frontend/.env file
REACT_APP_PUBLIC_FOLDER = "http://localhost:3001/images/"