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

[Stats Page] - Create Get Single Graph Collection

Open
#2,882 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

back-end medium
Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 21h
Merged PRs (30d)
11

Description

Description

We need to create an endpoint to get a single graph collection. This endpoint should be in the statistics router under the route ‘statistics/:graphCollectionId’ and should have a payload with the collection id.

Be sure to include unit tests and screenshots of postman manual tests to ensure everything is working correctly.

Acceptance Criteria
  • a new endpoint is created in the statistics router under the route ‘statistics/:graphCollectionId’ that returns a single graph collection.
  • unit tests and postman screenshot
Proposed Solution

Take a look at some of the other get endpoints we have on Finishline and use it as a reference for this endpoint.

Mocks

No response

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

Locate the statistics router and review existing GET endpoints in FinishLine for routing, response, and test conventions. Add the single-graph-collection endpoint at statistics/:graphCollectionId, then add unit coverage and verify the behavior with a Postman manual test screenshot.

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
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.