rubyforgood / rubyforgood/alongwithyou
API is unauthenticated, unbounded, and unthrottled
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 9
- Forks
- 4
- Avg merge
- 9h 34m
- Merged PRs (30d)
- 16
Description
GET /api/v1/tasks returns all rows with no pagination or limit, no created_at index behind newest_first, and DELETE is public with no auth. This is the placeholder resource other real models will get copied from, so the pattern needs fixing here first, not later.
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.
Research direction
Locate the handlers for GET /api/v1/tasks and DELETE, then find the query or model code that implements newest_first and the schema or migration for created_at. Review how this placeholder resource is exposed and run the existing API tests if available. Done means task listing is bounded, newest_first has the needed index, and deletion is authenticated and throttled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend, databases, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100