Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine
[Bay Dashboard] - Countdown Widget Edit Endpoint
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 36
- Forks
- 9
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 11
Description
Description
EDIT endpoint for countdowns
Acceptance Criteria
- only allowed for heads and above
- required name non empty on trim
- required startDate
- optional endDate, clearing endDate supported
- test for AccessDeniedException when a member calls it
- NotFoundException for an unknown or deleted countdown
- postman test ss
Proposed Solution
POST /bay-dashboard/admin/countdown/:countdownId/edit
Mock
This is what the frontend table will look like for countdowns, and imagine a column on the right with edit icons, this is where this endpoint will be called
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
Start by locating the existing countdown administration entry points and the proposed POST /bay-dashboard/admin/countdown/:countdownId/edit endpoint. Review how nearby endpoints handle permissions, validation, missing or deleted records, and tests. Done means the acceptance criteria are covered, including clearing endDate and the requested Postman test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100