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

API: Return count of postcards sent #9

Open
conorgil opened this issue Sep 2, 2020 · 1 comment
Open

API: Return count of postcards sent #9

conorgil opened this issue Sep 2, 2020 · 1 comment
Assignees
Milestone

Comments

@conorgil
Copy link
Member

conorgil commented Sep 2, 2020

Goal: Allow the website to display the current number of postcards that have been sent. For example "We let 10,453 registered voters in Philly know that they can vote from home. Help spread the word!"

Acceptance Criteria:
[ ] Have an API end point that looks up the total number of postcards that have been sent and returns that number

  • Setup CORS to reject requests from other origin (tiny help to prevent API abuse)
@conorgil conorgil added this to the Postcards milestone Sep 2, 2020
@ravenac95
Copy link
Collaborator

This issue is funny cause in mid 2000s you'd just build this into the webpage instead of using javascript to make some xhr request :P. Tho this makes sense cause all the other parts of the page are easily cached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants