ContentDetailed description of the section content.

If you enjoy a challenge, this assignment is for you. We haven't covered the backend and APIs yet, so it's up to you to figure out how to implement them for this task. You can refer to the later chapters in this course to explore your options. If you are ready, please accept tis assignment below … this message will self destruct in 10 seconds … 10 … 9 …. 💣

https://classroom.github.com/a/r_tAlV3A

Considering your options for backend implementation:

  1. We have implemented REST API endpoint for you in src/app/api/tasks/route.ts. Examine its functionality and implement if anything is missing.
  2. You have the following options to consume the REST API:
    1. Use raw fetch to get and update data (meh …)
    2. We added the @tanstack/react-query library for you to consume the API in style
  3. Or, if you feel like a pro, we also added the TRPC library for you try, which adds type safety to your APIs! We cover TRPC in this course as well.

🎯 GOAL

Make sure that:

  1. All tests pass
  2. You can add, modify and remove tasks!
  3. BONUS: Database Persistence? Just saying …

 

GOOD Luck!