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

[Stats Page] - Create Edit Graph Endpoint

Open
#2,879 0 comments 0 reactions 1 assignee View on GitHub

@kyanbarker is already working on this.

Since Nov 20, 2024.

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

Description

Description

We need to create an endpoint to edit a graph. This endpoint should be in the statistics router under the route ‘statistics/:graphId/edit’ and should take in the graph 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/:graphId/edit’ that edits a single graph.
  • 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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.