For this challenge we were requested to build an application for college students that can help them save money by driving safe, similar to State Farm's Drive Safe and Save app. We determined that there were a lot of factors that were relevant to college students that weren't being accounted for in the existing app, such as intoxicated driving and weather conditions. Drunk driving causes more than 10,000 deaths a year while bad weather causes more than 5,000 deaths.

To make our app more appealing to college students like ourselves, we wanted to make a modernized user interface while adding a bit of friendly competition into it by having a leaderboard. As college students under a very limited budget, we understand how important it is to always save when possible. With student-geared incentives and a more appealing user interface, it makes it easier and more enjoyable to save.

What it does

Driving Safe 101 measures a variety of parameters to determine how safe a student drives and from that what discount should be applied or reward given. Parameters are all precisely measured and given to students, allowing them to improve their driving with helpful suggestions instead of providing a vague score. Parameters are divided into three categories: driving habits, driving safety, and environmental impact, which each have a holistic score. A holistic score incentivizes improvement in all areas of that category.

The Safety Leaderboard is our secondary method to incentivize safety while driving. It places the user onto a scoreboard composed of the user's overall score measured against others that have been inputted as friends. The inherent competitive aspect of measuring your score against your friends will raise scores for the users that participate.

In order to allow users to better understand the areas where they can improve their driving, we also have implemented the Category System. The system presents wide categories that indicate where a user can focus their attention to better their safety while driving. Each category uses the holistic score to give a rating and English description areas within the category where they can improve.

How we built it

Our primary technologies were Flutter, Dart, and Hive. The intuitive user interface was created through Flutter widgets to allow us to quickly implement our product. The framework allows for GUI's to be created without diving too deep into graphical representation coding. Powering the backend of the GUI is Dart, which we used for calculations of the Category System's rating and to interface with the Hive database. The Hive database is our method of populating the leaderboard with friends. This allows the data that is needed for the leaderboard to be stored locally without needing to poll Cloud infrastructure continuously.

Challenges we ran into

We attempted to use sqflite as a database, but integration was difficult. After consulting some of our peers with more experience with Flutter, we were recommended Hive, a simple NoSQL database made for Flutter.

Accomplishments that we're proud of

With a time limit of 24 hours, we are very proud of the progress we made on our app. None us are proficient in Flutter and seeing the final result showed us that we developed our skills. The biggest strength of our app is the user interface.

What we learned

Two of our members were new to Flutter and one had very little experience with it. We learned to to create a Flutter application

We tried to use a relational database for our application, which was complicated to set up. Due to the time constraints and the limited scope of our project, that was not the best option for a database that we could have chosen. We learned more about the factors that should influence our decision of our stack.

We are very grateful for having this opportunity to come out, collaborate, and this event really pushed our selves be our best.

Built With

Share this project: