Pie Logo
Assignment 1.3: Bonus - Backend
by Tomas Trescak

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/

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!

Full Stack Development
Introduction
Generative AI
🍰 Player
💼 Editor
Setup
React Fundamentals
JSX and Components
Props
Assignment 1.2: Front End
CSS Styles
useState and Hooks
Conditional Rendering
Lists
Forms and Events
Storybook
Assignment 1.3: Bonus - Backend
Leaderboards
Next.js
Advanced React
Databases
React Hooks
Authentication and Authorisation
APIs
CI/CD and DevOps
Testing React
Advanced Topics
    Pie Logo
    Assignment 1.3: Bonus - Backend
    by Tomas Trescak

    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/

    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!

    Full Stack Development
    Introduction
    Generative AI
    🍰 Player
    💼 Editor
    Setup
    React Fundamentals
    JSX and Components
    Props
    Assignment 1.2: Front End
    CSS Styles
    useState and Hooks
    Conditional Rendering
    Lists
    Forms and Events
    Storybook
    Assignment 1.3: Bonus - Backend
    Leaderboards
    Next.js
    Advanced React
    Databases
    React Hooks
    Authentication and Authorisation
    APIs
    CI/CD and DevOps
    Testing React
    Advanced Topics
    Pie Logo
    Assignment 1.3: Bonus - Backend
    by Tomas Trescak
    Pie Logo
    Assignment 1.3: Bonus - Backend
    by Tomas Trescak
    Full Stack Development
    Introduction
    Generative AI
    🍰 Player
    💼 Editor
    Setup
    React Fundamentals
    JSX and Components
    Props
    Assignment 1.2: Front End
    CSS Styles
    useState and Hooks
    Conditional Rendering
    Lists
    Forms and Events
    Storybook
    Assignment 1.3: Bonus - Backend
    Leaderboards
    Next.js
    Advanced React
    Databases
    React Hooks
    Authentication and Authorisation
    APIs
    CI/CD and DevOps
    Testing React
    Advanced Topics
    Full Stack Development
    Introduction
    Generative AI
    🍰 Player
    💼 Editor
    Setup
    React Fundamentals
    JSX and Components
    Props
    Assignment 1.2: Front End
    CSS Styles
    useState and Hooks
    Conditional Rendering
    Lists
    Forms and Events
    Storybook
    Assignment 1.3: Bonus - Backend
    Leaderboards
    Next.js
    Advanced React
    Databases
    React Hooks
    Authentication and Authorisation
    APIs
    CI/CD and DevOps
    Testing React
    Advanced Topics