A map for your dietary needs

Sahana S, Priya R, Dhanya Sree P

Lovely leaf is a web application that allows a user to input their dietary restriction and location and get a list of restaurants that suit their tastes and dietary needs. The app utilizes two APIs to create a custom restaurant list that is listed out and displayed on a map.

For those with dietary restrictions, the search for a place to eat can be difficult. A quick Google search returns a generic list of restaurants that are not clearly tagged to match dietary restrictions. The consequences of this misinformation can range from mild inconvenience to serious health scares.

We wanted to create a web application that would be targeted towards users with dietary restrictions, that could classify and locate restaurants by the restriction. Using the Foursquare and Mapbox apis, we created an application that allows a user to input their dietary restriction and location and get a customized list of restaurants that suit their tastes.

We had to learn to integrate the Mapbox and Foursquare APIs into an HTML template, which took up the majority of our time. The Foursquare API returned the data in the form of an array. Therefore we had to access specific portions of the array to retrieve the right information that we needed. In order to overcome this, we combined the Mapbox and Foursquare API documents. We had to look at the console log and retrieve the information from the array. We added that information to our code to incorporate the information into the website and the map.

"It's cool."
"It's really efficient.'
'Personally I would use it. it makes it easy to find vegetarian restaurants."

Priya is a rising senior at Monta Vista High School and a graduate of the Girls Who Code Summer  Immersion Program. She is interested in biology, journalism, and international relations. In her free time, she enjoys taking naps and watching bad action movies.

Sahana is a rising senior at Saratoga High School, graduate of the Girls Who Code Summer Immersion Program, and recently converted vegetarian. She is interested in media, environmental science, and computer science. In her free time, she enjoys creating and watching movies, dancing, and sleeping at odd times. She hopes to pursue the intersection of media and computer  science in the future.

Dhanya is a rising junior at Cupertino High School and graduate of the Girls Who Code Summer Immersion Program. She is interested in astronomy and computer science,  and enjoys dancing in her free time. In the future, she hopes to pursue integrating AI with space research.

You can view the project here.

This project was made by Girls Who Code Summer Immersion Program students at GoDaddy Bay Area.