Skills101
← All practice quizzes

Quiz: Node, Express and REST

5 questionsNo time limitPass: 60%+10 XP on first pass

Run JavaScript on the server with Node.js, build a REST API with Express (routes, params, JSON, middleware, status codes), connect a database, and deploy it.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    In Express, how do you read 7 from the route /api/courses/:id when the URL is /api/courses/7?

  2. Question 2

    Which status code fits "a new resource was created"?

  3. Question 3

    What must a middleware call to pass control to the next handler?

  4. Question 4

    Which URL design follows REST conventions?

  5. Question 5

    Why should database credentials be in environment variables?