Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine

[Bay Dashboard] - Countdown Widget Delete Endpoint

Open
#4,452 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

back-end good first issue
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

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.