We've all had those moments where a large scale disaster hits close to home. Roads are covered with debris and are damaged, power lines collapse, houses are flooded, and belongings are displaced. Some people might even lose pets and other valuables. This is where a community driven app that aims to lessen the impact of these disasters come into place. By allowing users to report hazards that might lead to bigger turmoil, we can notify each other and bring the neccessary awareness to our own surroundings. Like recent trending twitter posts that show trending news from around the world, we seek to shine light on hazards that could go unnoticed in a community.

What it does

This application allows users to use an iPhone app to pinpoint a location along with the type of hazard and a short description of the hazard. People are able to view the hazards through the iPhone app or even an accompanying website that also allows users to delete the hazards. Using custom icons, one is able to quickly see if their surroundings are in need of repairs. Seeking attention is the goal of the application.

How we built it

Using a python backend to create the mySQL database we then created the iPhone app using swift. From here we then developed the website using javascript and html. The javascript made the api calls to the python api we had set up. We used Googles map api to access the map and the map functions that allowed to properly store markers onto the database and finally display them on the map.

Challenges we ran into

There were many challenges we faced along the way, one was the setting up of the database from the start, there were many conflicts as to how the relationships were going to work and what type the variables would be. Another challenge was integrating the api through the database and having the proper javascript calls. Lastly, time management was a challenge as we we had to keep working to meet the deadline.

Accomplishments that we're proud of

Utilizing the google maps API in order to populate a crowd sourced map in order to get information and storing that information to be of use to others that may require it.

What we learned

We were able to get more accustomed to javascript and how to access and manipulate someone else's API and all the documentation that goes with learning how to utilize it. We also learned about new technologies can be used for web development and mobile development.

What's next for HazMap

We plan on adding a login and authentication for the webpage in order to manage the map so that not anyone can just come on and delete all of the hazards. They would still be able to view the hazard in the case that they want to plan a trip or want to know if some hazard near them has been fixed yet or not. On the mobile side, we plan on adding support for android as well, instead of just iOS. We also plan on adding a feature that deletes a hazard after a certain amount of people mark that the hazard has been fixed so the map doesn't get cluttered and so people know when a place is safe to travel or what they at least should be looking out for.

Share this project: