Express.js Exercises

For this exercise we will be building a simple application where we will store a shopping list. You should use an array to store your items in the shopping list.

Our application should have the following routes:

  1. GET /items – this should respond with a list of shopping items.
  2. POST /items – this route should accept form data and add it to the shopping list.
  3. GET /items/:id – this route should display a single item’s name and price
  4. PATCH /items/:id – this route should accept edits to existing items.
  5. DELETE /items/:id – this route should allow you to delete a specific item from the array.

When you’re ready, move on to Introduction to Postgres with Node

Download the
program syllabus

Get the syllabus, daily schedule, and a few more details about Rithm: