Inspiration
Due to the coronavirus pandemic, many businesses have been forced to either close or minimize their business hours. As a result, many people are unsure when their favorite restaurants or shops are open, which is why I made Opening Hours.
What it does
Based on your search query, the app displays nearby businesses along with their opening hours for today. Further clicking on a business can show more details such as the opening hours for the duration of the whole week.
How I built it
Opening Hours was built using Dart and the Flutter framework. The businesses along with their opening hours are retrieved from the Google Places API.
Challenges I ran into
One major challenge I ran into was the search functionality. I picked up Flutter a few weeks ago and have only played around with it a couple of times so I wasn't quite sure how to make the search bar. I spent quite some time trying to create a real-time search bar however I quickly realized that it would spam the Google Places API with multiple requests so I decided on making a static search bar. Another challenge I ran into was finding an API that has data about opening hours. I only managed to find 2 APIs that had the data I needed, Yelp and Google. I tried using Yelp, however, it was much slower than Google's API and had a maximum amount of requests per second so I settled with Google Places API.
What's next for Opening Hours
In the future I'm planning on making a grid like widget that displays a business' opening hours in a more readable and natural format.
Log in or sign up for Devpost to join the conversation.