- cd to the
backend
directory andyarn
oryarn install
to add dependencies. - Add .env file in the backend directory with a MONGO_URL key set to your MongoDB Atlas connection string AND a JWT_SECRET key set to anything you would like.
- type the command
yarn server
to start express server and connect to your DB.
- cd to the
client
directory andyarn
oryarn install
to add dependencies. - Type the command
yarn start
to start the development server for the client.