Inspiration
Because of the current covid-19 pandemic, staying safe, alert, and healthy is more important than ever. Being aware of which locations have been affected by covid-19 as well as knowing if you are at a high risk of exposure may be difficult to figure out, which is why Vigil was created.
What it does
Vigil is an app that showcases covid-19 hotspots as well as alerts users how prone they are to covid-19. Using the user's address as well as their recently visited locations, the app alerts the user of their exposure, provides medical centers and hospitals to get covid-19 tested, and displays a map of high-risk locations in their radius they should steer clear from.
How I built it
Using Java, I created a program that detected how prone a user is to covid-19. First, the program uses a scanner and takes in the address of the user. The program also has 2 text files, one text file detailing the number of covid-19 patients, and another text file detailing the total population of their address (city). Using a buffered reader, the program reads the file and puts it into two Hash Maps.
After doing so, the program calls the Hash Maps and based on the user's address, it takes the total number of covid-19 patients in the location and divides it by the total population of the location. The program then provides an answer of how prone a user is to covid-19 and recommends whether or not they should get tested.
To build the graphics of Vigil, I used the prototype platform, Framer.io.
Challenges I ran into
One challenge I ran into in my code was figuring out if I should use two Hash Maps or one and which one was more efficient. With one hashmap, I would have to create a hash map within another hash map, which would be more time-consuming and would take more code. I ended up using 2 hash maps instead, as it would be easier to keep track of the addresses information.
What's next for Vigil
In the future, I plan on increasing the efficiency of Vigil and using the Johns Hopkins covid-19 interactive map for more accurate information. I also plan on making Vigil a 501(c)(3), making it available and free to all users.
Check out the presentation up above (next to the video) to learn more about the business aspects of Vigil as well as its future!
Built With
- framer.io
- java

Log in or sign up for Devpost to join the conversation.