MBTA Leave-By Planner commute view

MBTA Leave Now

Updated Jan 2026

JavaSpring BootGradleHTML

MBTA Leave Now is a learning-focused Spring Boot project that answers a commuter question: when should I leave? It includes both a generic stop-level API and a more opinionated leave-by planner for a fixed commute to RTX BBN.

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

  1. 1Fetch upcoming MBTA predictions and schedules for relevant stops
  2. 2Apply walk-time and transfer buffers to compute a leave-by recommendation
  3. 3Expose results through a REST API and a lightweight static frontend

Results

  • Concrete practice project for Gradle Kotlin DSL, Spring MVC, and test structure
  • Bridges backend API logic and a usable frontend in one small repo

Next steps

  • Generalize the fixed commute planner into configurable routes
  • Add example responses and screenshots for easier onboarding