Add foods index endpoint
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- api
Research direction
Start by locating the API route or entry point for /api/v1/foods and inspect how existing endpoints are organized. Verify the endpoint returns status 200 and that each food item has id, name, and calories fields matching the requested format.
Written by the indexing model from the issue text.
Description
As a user,
I should be able to request a list of all foods in the system from the endpoint /api/v1/foods.
The endpoint should result in a status code of 200, and each food item should match the following format:
{
"id": 1,
"name": "Banana",
"calories": 250
}
- Tested
- Documented
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from allieIsOkay/quantified-self-api
-
Add Seeds for meals Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
allieIsOkay/quantified-self-api#13 · 1 assignee ·
-
Add Meal table Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
All issues in allieIsOkay/quantified-self-api
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·