Inspiration

Indecisiveness and love of food! Ordering food is fun, but deciding where and what to order can be a hassle, especially if you're indecisive. Our goal was to eliminate some of this hassle, so you can spend less time deciding, and more time eating!

What it does

Searches for and chooses a restaurant for you, based on your preferences. The user is prompted to enter their preferred cuisine type, address and search radius. Using the Google Places API, the app searches for restaurants that match those parameters. The results are then filtered such that the restaurant must be open currently, and must have a Google Maps rating of 3.5 stars minimum. Finally, one of the filtered results is displayed back to the user with some basic information shown on screen.

How we built it

Using the Google Places API, we were able to find information about nearby restaurants. These search results were randomized, filtered and shown to the user. Users are able to input preferences and see the results on a website.

Challenges we ran into

Making sequential requests in Javascript were difficult as JS runs code synchronously by default. We struggled to format the CSS properly and link it to the JS as none of the team members have experience with front end development. CORS policy prevented API calls from completing properly. To solve this, we downloaded a plugin for Chrome.

Accomplishments that we're proud of

A fully functioning end product that matched our initial goals while learning on the fly about Javascript Css, and React.

What we learned

We learned a lot about front end development and integrating APIs into applications.

What's next for Resto-Roulette

More error checking to ensure the app is robust. Adding more features to give the user more control over the results they see. Allowing users to specify a minimum star rating, max price range etc... Integration with food delivery apps (Uber Eats, DoorDash, etc...) would allow users to seamlessly transition from Resto-Roulette to ordering.

Share this project:

Updates