Assignment 1.3: Bonus - Backend
by Tomas Trescak· React Fundamentals

0 / 3280 XP
The external project has not been reviewed yet
Please follow instructions below to submit your project

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/

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!

Discuss with Others
Ask questions, share your thoughts, and discuss with other learners

Join the discussion to ask questions, share your thoughts, and discuss with other learners
Setup
React Fundamentals
10 points
Next.js
10 points
Advanced React
Databases
10 points
React Hooks
Authentication and Authorisation
10 points
APIs
CI/CD and DevOps
Testing React
Advanced Topics