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

JSON data endpoints #51

Open
tsumaru720 opened this issue Feb 26, 2020 · 1 comment
Open

JSON data endpoints #51

tsumaru720 opened this issue Feb 26, 2020 · 1 comment

Comments

@tsumaru720
Copy link
Owner

Havent properly decided how/what I want to do yet, but for the purposes of getting a proof-of-concept the current pages use PHP/Twig to write inline javascript for rendering graphs. 🤢

Ideally I want this to be something I can just hit and pull json from to populate the graphs. This would ultimately allow me a lot more flexibility with how the graphs work.

I think the simplest initial revision would be a basic API of sorts that would have a number of "views" defined - each view representing the data required to display one graph. The only issue with this method is 1 page view with say 30 graphs would result in 30 additional hits to the "graph api" which might hamper performance/usability a bit.

Will need some additional testing

Happy to take discussion/suggestions on this

@tsumaru720
Copy link
Owner Author

Whilst i could bodge it in - this is a blocker for #22

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

1 participant