Chapter quiz · Server, Nitro & API

Test what you learned.

8 questions on Server, Nitro & API. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Server, Nitro & API — Chapter Quiz

Eight questions covering Nitro, defineEventHandler, h3, middleware, and auth.

0/ 9
  1. Question 1
    1

    What is Nitro?

  2. Question 2
    2

    How do you declare an HTTP handler in server/api/?

  3. Question 3
    3

    getQuery(event) returns the parsed query-string object.

  4. Question 4
    4

    Which helper reads the request body as JSON?

  5. Question 5
    5

    Where do server middleware files live?

  6. Question 6
    6

    Helpers exported from server/utils/*.ts are ____-imported in any server file.

  7. Question 7
    7

    Which approach gives a server route a typed URL with params?

  8. Question 8
    8

    Which databases work well from a Nuxt server route?

    Select all that apply.

Pick an answer — instant feedback as you go.