BrodyJack / MacroTracker

A PWA for tracking nutrition
0 stars 0 forks source link

Basic GET route to retrieve POST'ed items #8

Closed BrandonManuel closed 5 years ago

BrandonManuel commented 5 years ago

For now, will just make it retrieve the in-memory food items array that has been created and added to through the POST route.

In the future, this will need authentication so you only GET items for a certain user.

Will add query params pageNumber and recordsPerPage so that we can support pagination.

BrandonManuel commented 5 years ago

Branch 8-get-request

BrandonManuel commented 5 years ago

PR https://github.com/BrodyJack/MacroTracker/pull/9

BrodyJack commented 5 years ago

Accepted