ailadson / YourCharts

0 stars 0 forks source link

Chart API / Data Storage #1

Open chf2 opened 9 years ago

chf2 commented 9 years ago

I'm a little unclear on how this data is being stored and refetched from the database. Right now I don't see a chart_metrics show action or a data_sources show action. Are these going to be parsed through using something like JBuilder or are they being consumed entirely by D3? In either case, we should figure out what the API for GET requests looks like on the client side.

ailadson commented 9 years ago

I'll store the actual files on a cloud hosting service and store the url to the file in the database. But you're right, I forgot to specify the index actions for the chart metrics and data sources. That's been fixed. The parsing is all client side.