Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine
[Bay Dashboard] - GET endpoint for current dash config
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 36
- Forks
- 9
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 11
Description
Description
GET /bay-dashboard/admin used by the Admin Tools to retrieve the currently displayed bay dashboard config.
Acceptance Criteria
- only heads and above can access
- returns content of BayDashboardPage
- test for AccessDeniedException for members
Proposed Solution
This will live in bay-dashboard-admin.routes , controller, service. Bay-dashboard is used by the TV and is public and unauthenticated, this endpoint will retrieve the information from the public dash, but must be authenticated so only logged in heads and above can access the information.
- current config is the latest non-deleted by dateCreated
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 bay-dashboard-admin.routes, controller, and service entry points, then trace how the public BayDashboardPage configuration is selected. Implement the authenticated GET /bay-dashboard/admin behavior so only heads and above can access the latest non-deleted configuration by dateCreated. Add coverage for AccessDeniedException when a member requests it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, authorization, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100