HackYourFuture-CPH / fp-class19

MIT License
3 stars 1 forks source link

Backend: Add get orders (by user) endpoint #180

Closed JiuTak closed 2 years ago

JiuTak commented 2 years ago

Description

Please provide a short summary explaining what this PR is about.

Fixes #99

How to test?

localhost:3000/api/documentation

Check ORDERS

Checklist

miltonhultgren commented 2 years ago

@NataliaS1994 @JiuTak How can you share the code for the selection part in a good way, think about what kind of function you could extract to import into both controllers for sharing that logic :)

miltonhultgren commented 2 years ago

I'd update the PR title and merge commit message to: Add get orders (by user) endpoint