Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine
[Bay Dashboard] - Countdown Widget Delete Endpoint
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 36
- Forks
- 9
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 11
Description
Description
DELETE endpoint for countdowns
Acceptance Criteria
- only allowed for heads and above
- soft delete — sets dateDeleted and userDeletedId
- already-deleted countdown throws DeletedException
- test for AccessDeniedException when a member calls it
- postman test ss
Proposed Solution
POST /bay-dashboard/admin/countdown/:countdownId/delete
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 at the proposed Bay Dashboard countdown endpoint, POST /bay-dashboard/admin/countdown/:countdownId/delete, and locate the existing countdown routes, authorization checks, and exception tests. Verify the endpoint enforces head-level access, records a soft deletion, rejects already-deleted countdowns, covers member denial, and includes 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
- 65/100