Inspiration
We're always hungry and busy. So we wanted to come up with a way to tackle both problems, introducing On The Go, a map application that displays any food spot on the way to your destination. This way, you can worry less about searching for restaurants nearby and more about getting to your destination.
What it does
On The Go finds restaurants, cafes, and bakeries along the route to your destination. The app accesses the user's starting point after they allow location access; users can choose different modes of transportation, and it also filters by category and price.
How we built it
We built the frontend with React, TypeScript, Vite, and Tailwind CSS, using Google Maps for the interactive map and location search. As for the backend, we used Node.js and Express to integrate Google Places (API) for restaurant discovery and Google Routes API for travel estimates. We used PostgreSQL hosted on Tiger Data to store restaurant interactions, which contribute to our popularity scores. This application runs in Docker containers on a Vult Ubuntu VM, with Caddy providing HTTPS at imstarving.boston.
Challenges we ran into
One challenge we faced was defining what on the way meant, we wanted to minimize travel time as well as give users preference to fit food into their daily schedules. Deploying the application was another issue. Due to unstable internet, we had constantly changing public IP addresses, so we had to run commands directly from the server terminal. We also needed to set firewall rules and connect our domain.
Accomplishments that we're proud of
We're proud to have fully deployed end-to-end. This application can be used on a device from anywhere in Boston. We connect real restaurant data, route calculations, persistent interaction storage, and cloud hosting into one working experience. Furthermore, we also built recommendations that are explainable through results that reflect clear filters, popularity signals, and route convenience.
What we learned
We started from points A and B on a map, from live user location to wherever they may need to go. We learned full-stack deployment, as well as hands-on experience with Docker and Linux server administration.
What's next for On The Go
We aspire to refine this application through a better ui, better transit planning, and expansion beyond Boston. We hope to add text-to-speech integration as well.
Built With
- express.js
- google-maps
- node.js
- react
- tailwind
- typescript
- vite
- zod