codeforboston / home-energy-analysis-tool

https://www.codeforboston.org/projects/
MIT License
8 stars 25 forks source link

Connect JavaScript forms to CSV parsing #162

Open thadk opened 2 months ago

thadk commented 2 months ago

JavaScript team to build on #159 in an upcoming session.

1 parse CSV Another object represents the other data. Parameter for data from spreadsheet and the weather data.

Two api calls for one form submission. One for form fields and one for the CSV upload.

Form, Billing CSV, and Weather.

See Greg’s fork https://github.com/thatoldplatitude/home-energy-analysis-tool/tree/fullflow which has a worked example except the CSV.

File Upload work on front end is in this branch: https://github.com/codeforboston/home-energy-analysis-tool/tree/upload_file_js https://github.com/codeforboston/home-energy-analysis-tool/blob/upload_file_js/heat-stack/app/routes/_heat%2B/single.tsx