1.Clone this Repository
git clone https://github.com/hamzathul/Todo.git2.Navigate to the project folder:
cd TodoTo run this project, add the following environment variables to your .env file in the root directory of this project.
So, create a '.env' file, and add the following:
PORT = 5000
MONGO_URI = <your-mongodb-uri>
3.Install dependencies for the backend and run backend server:
yarn install
yarn run devThe backend will run on http://localhost:5000.
4.Install dependencies for the frontend and run frontend server:
cd frontend yarn install
yarn devThe frontend will run on http://localhost:5173.
Now you can open your browser and go to http://localhost:5173 to view the application.