Skip to content
This repository was archived by the owner on Aug 17, 2024. It is now read-only.

Manchester-NW5-LeilaFaez-Sql-week3 #136

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 2-api/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ In the following homework, you will create new API endpoints in the NodeJS appli

- If you don't have it already, add a new GET endpoint `/products` to load all the product names along with their prices and supplier names.



- Update the previous GET endpoint `/products` to filter the list of products by name using a query parameter, for example `/products?name=Cup`. This endpoint should still work even if you don't use the `name` query parameter!

- Add a new GET endpoint `/customers/:customerId` to load a single customer by ID.
Expand Down