Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop a REST API to create a counter service #1

Open
rofrano opened this issue Sep 21, 2016 · 0 comments
Open

Develop a REST API to create a counter service #1

rofrano opened this issue Sep 21, 2016 · 0 comments

Comments

@rofrano
Copy link
Collaborator

rofrano commented Sep 21, 2016

As a User
I need a way to create a counter
So that I can easily keep count of how many times something was done

Assumptions

  • The base URL would be /counters/<name>
  • URL should return a number that gets incremented every time it is called
  • In memory persistence is fine for MVP

Acceptance Criteria

Given the server is available
When I call the URL `GET /counter/<name>`
Then it should return the number of times it has been called as a JSON string in the format:

The Results should look like this?

{
    <name>: <count>
}

Where <name> is the number of name of the counter and <count> is the current count.

@rofrano rofrano added this to the Sprint 1 milestone Sep 21, 2016
@rofrano rofrano self-assigned this Sep 21, 2016
@rofrano rofrano removed this from the Sprint 1 milestone Jan 31, 2017
@rofrano rofrano removed their assignment Jan 31, 2017
@rofrano rofrano added this to the Sprint 1 milestone Jan 31, 2017
@rofrano rofrano removed this from the Sprint 1 milestone Feb 8, 2017
@rofrano rofrano added this to the Sprint 1 milestone Feb 9, 2017
@rofrano rofrano removed this from the Sprint 1 milestone May 9, 2017
@rofrano rofrano added this to the Sprint 1 - Local Service milestone Sep 20, 2017
@rofrano rofrano removed this from the Sprint 1 - Local Service milestone Feb 4, 2018
@rofrano rofrano added this to the Sprint 1 - Minimal Service Locally milestone Feb 8, 2018
@rofrano rofrano removed this from the Sprint 1 - Minimal Service Locally milestone Sep 16, 2018
@rofrano rofrano added this to the Sprint 1 milestone Sep 19, 2018
@rofrano rofrano removed this from the Sprint 1 milestone Feb 18, 2019
@rofrano rofrano added this to the Sprint 1: Get something working milestone Sep 18, 2019
@rofrano rofrano removed this from the Sprint 1: Get something working milestone Feb 17, 2020
@rofrano rofrano added this to the Sprint 1: Working service locally milestone Feb 19, 2020
@rofrano rofrano closed this as completed Apr 3, 2020
@rofrano rofrano reopened this Sep 22, 2020
@rofrano rofrano removed this from the Sprint 1: Working service locally milestone Sep 22, 2020
@rofrano rofrano added this to the Sprint 1: Local Hit Counter milestone Jun 10, 2021
@rofrano rofrano removed this from the Sprint 1: Local Hit Counter milestone Sep 21, 2021
@rofrano rofrano changed the title Add simple hit counter api call Develop a REST API to create a hit counter service May 30, 2022
@rofrano rofrano changed the title Develop a REST API to create a hit counter service Develop a REST API to create a counter service Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant