Driving is Dangerous

California roads can be scary. In fact, roads in any state can be scary. For many, just the idea of driving on the highway can bring chills. Incidents, slowdowns, weather, time en route, speed, and other factors can make a huge impact on how safe a trip is.

Many (if not all) of us want to get to our designated location as quickly as possible. But the excuse of "I am a good driver, so I should get there in one piece" is no longer a valid argument as good driving does NOT always equate to arriving safely. We want to make it transparent to our users the calculated risk of their trip which can drastically shift the fate of one's life.

So...What is Risky Roads?

Risky Roads gives users the power and incentive to control the risk of their travels - one road at a time. A user is able to browse various routes and find the calculated risk of each route. These metrics will incentivize the user to take a "recommended route" that compromises between the time it takes a user to get to their designated location and our risk algorithm.

How we built it

For the backend systems, we used Inrix APIs and python to host a Flask application which serves as an API for risk calculation and passes data to the front end.

We query our own API using a GET request and providing it with the start and end waypoints using longitude and latitude.

The front end of our application was created in Swift, an IOS-based framework.

GitHub (Backend)

GitHub (Frontend)

Google Slides

Challenges we ran into

Most of us did not have experience in IOS mobile development or calling APIs. Our lack of knowledge in swift and API calls created an extensive obstacle during our development processes. It was hard to start the implementation of our project with the sheer lack of knowledge in these technologies beforehand.

Our Storyline: "Uhhh, do any of y'all know how to do this (silence)" → "Grrrr! (*slams head against palm")" → "I called an Inrix API!" → "How do you calculate the center of a rectangle again? (lol)" → "How do you make a button in Swift?" → "We finished the risk calculations!" → "*Googles: Flask CrashCourse...stares at the documentation in defeat" → "Guys we finished the backend!" → "Soo, how do you make an API call in Swift?" → "6 hours later...we are finally able to parse the data!!!" → "12pm: frontend looking rough" → "Many more hours later: polishing application, ready to create presentation and Devpost" → "Finally...done"

Accomplishments that we're proud of

We are proud to have built an impactful application that has a far-reaching impact in helping to reduce the number of accidents on our roads. We gave power back to the people while they pursue their daily lives. In just 24 hours we mastered new skills, created a deployable application, and grew together as a team.

What we learned

We all swiftly picked up Swift, Python, Flask, API Calls, and IOS Mobile Development. All things which the majority of us had no previous experience developing with. We were able to take risks and create a project which was out of our comfort zones...embodying the technology in which we display before you.

What's next for Risky Roads

In the future, we hope to increase functionality to even more locations, allowing people across the world to be in control of their own safety while driving. We want everyone to be able to advocate for themselves and be more in control of their own future while driving.

Built With

Share this project:

Updates