Authors

Inspiration

I wanted to create a web application that could help a patient self-report themselves to a doctor if they are feeling like they are coming down with Coronavirus.

What it does

The end user will submit a form and based on the answers the web application will decide if they are at risk or not.  If they are at risk, the application will use the Twilio API to send a text to a phone number that the end-user indicated with vital information that a medical professional can decide whether or not to contact the patient to come in immediately. It will also display a map showcasing nearby hospitals based on location for the end-user to drive to.

If the end-user is not at risk the web application will let them know and ask them to continue following the recommended CDC guidelines for social distancing.

How I built it

I used the Corneal gem which is based on Ruby/Sinatra to scaffold an MVC application. I then implemented the Google maps API and Twilio Gem.

Challenges I ran into

I could not get it to deploy to Google Engine. (It's still a brand new platform for me). Nor could I get the map to display the markers for nearby hospitals.

Accomplishments that I'm proud of

I got the Twilio API to work and I am quite proud of it!  The backend logic worked exactly how I wanted it to.

What I learned

Even though I didn't get Google Maps working the way I wanted to I still learned so much about GCP and was just happy to get the maps to properly display the end-user's location. I'm excited to keep learning GCP and can see the immense usefulness of it.

What's next for Flatten The Curve

I need to get better with front-end development. It's not pretty but the logic is there.  I also want to further implement Google Maps properly to not only display nearby hospitals but send directions via text to the end-user for convenience.

Try It out

Hackathons

Technologies

corneal, google-maps, ruby, sinatra, twilio

Devpost Software Identifier

256441