HackYourFuture-CPH / fp-class19

MIT License
3 stars 1 forks source link

[Backend] Add GET /orders/:id endpoint #174

Closed nataliasowa closed 2 years ago

nataliasowa commented 2 years ago

Description

This PR provides order info to display orders by order id.

Fixes #101

How to test?

npm run db:setup npm run dev http://localhost:3000/api/orders/{id} Swagger -> http://localhost:3000/api/documentation/#/

Checklist

miltonhultgren commented 2 years ago

Could I suggest updating the PR title and the merge message to something like: [Backend] Add GET /orders/:id endpoint