Todo App Using Tanstack Query

How to setup project

  1. Clone the project
  2. create a .env file in the backend folder
  3. Add the following variables to the .env file
PORT=4000
MONGO_URI=mongodb+srv://username:password@clustor-url/react_query_v5?retryWrites=true&w=majority

  1. Run npm install in the backend folder

  2. Run npm run dev in the backend folder to start dev server

  3. Run npm install in the frontend folder

  4. Run npm run dev in the frontend folder to start dev server

  5. Open http://localhost:5173 in your browser

Postman Collection: https://elements.getpostman.com/redirect?entityId=28355698-74895328-dc68-43ea-8e25-e5c2a4658c27&entityType=collection