9jacodeTech / IssueTracker

0 stars 0 forks source link

Endpoint that allow users to edit value metrics #49

Open chidioguejiofor opened 1 year ago

chidioguejiofor commented 1 year ago

Description

As a user, I should be able to:

Technical Detail

The data for the events endpoint should have the following structure:

Acceptance Criteria

}

chidioguejiofor commented 1 year ago

{ metric1Label: "Partners" metric1Value: "100+" mertric2Label: "Project" .... }

genuineAB commented 1 year ago

@chidioguejiofor I am not clear on how to refine this ticket. From what I understand from the standup, the only endpoint here should be an update, but I'm thinking of how to get the data. Also, how will the metric be created for the first time without a created endpoint?

chidioguejiofor commented 1 year ago

No we should have an PUT and GET endpoint

chidioguejiofor commented 1 year ago

We need a way to get the data and a way to edit it

genuineAB commented 1 year ago

@chidioguejiofor How about a way to create it? I know the concern is that the user shouldn't be able to go above a predefined number of metrics - 4 in this case, but we can limit that from either the backend or frontend.