googleinterns / step160-2020

2 stars 1 forks source link

Make survey react component, send and handle POST requests #6

Closed peter-parque closed 4 years ago

peter-parque commented 4 years ago

We now have a react component for our survey! It takes username, text message, city/state choice, and feelings moved from the pool to an intensity category. This is sent to the backend built out in PR #1 to then be loaded into Datastore.

Once Kidist merges a PR with the new homepage, I'll pull that over here and put in the survey.

peter-parque commented 4 years ago

Rebased this branch onto master to get new base website

peter-parque commented 4 years ago

form_for_PR Here's what the survey looks like now! It uses the Material UI card component for the draggables. Submit works but doesn't refresh the page on a successful response - postponing adding that since we'll be adding 'make account' buttons soon.