
MBTA Leave Now
Updated Jan 2026
JavaSpring BootGradleHTML
this is a spring boot project that answers a pretty simple commuter question: when should i leave? it has both a generic stop-level API and a more opinionated leave-by planner for my fixed commute. i mostly built it to get comfortable with spring and gradle.
MBTA prediction-driven leave-now API
fixed commute leave-by planner with transfer and walking buffers
spring boot + gradle kotlin DSL practice project
what i built
- spring MVC endpoints for stop-level leave guidance and a fixed commute planner
- MBTA API client using java HttpClient and jackson parsing
- minimal browser UI for entering a deadline and viewing leave-by guidance
how it works
- 1fetch upcoming MBTA predictions and schedules for the relevant stops
- 2apply walk-time and transfer buffers to compute a leave-by recommendation
- 3expose results through a REST API and a lightweight static frontend
results
- ✓solid practice project for gradle kotlin DSL, spring MVC, and test structure
- ✓bridges backend API logic and a usable frontend in one small repo
what's next
- generalize the fixed commute planner into configurable routes
- add example responses and screenshots for easier onboarding