- git clone the repo in your machine, and then cd into the directory:
git clone https://github.com/yashpriyam/frontend_todo_case_study.git
cd frontend_todo_case_study
- now open a terminal and install all the dependencies:
npm i
- create a .env file in the root directory of the project and add the following env variables:
SKIP_PREFLIGHT_CHECK=true
DEV_DB=mongodb+srv://JeXcBPk752QAfjCb:JeXcBPk752QAfjCb@cluster0.k468m.mongodb.net/youShd?retryWrites=true&w=majority
STAGING_DB=mongodb+srv://JeXcBPk752QAfjCb:JeXcBPk752QAfjCb@cluster0.k468m.mongodb.net/youShd?retryWrites=true&w=majority
JWT_SECRET=asndkjndnasjidnkf12343n12nek3qruo32jrh3983hr3892h9ioj2398j3dno
- start the app and server locally:
npm start