Your night out, routed by the T. Tell T-Quest your budget, crew size, time, starting station, vibe and craving. A Mastra AI agent running on Gemini picks real spots from our Tiger Data database, orders them into a route along the MBTA, and returns a quest with live train times, per-person cost, and a last-train warning so nobody gets stranded.
Built at BostonHacks 2026 for the Bos(tons) of Eats and Streets track.
searchPlaces queries Tiger Data Postgres (filters on price, vibe, hours, group size, 21+)getLastTrain queries the MBTA v3 schedules APIdata/places.json. The demo never dies.npm install
cp .env.example .env.local # add your keys
npm run dev # http://localhost:3000
DATABASE_URLnpm run seed creates the places table and loads data/places.jsonPush to GitHub, import into Vercel, add the env vars, then point your GoDaddy Registry domain at it.
Next.js 15 · Mastra · Gemini API · Tiger Data (Postgres) · MBTA v3 API
data/places.json is a starter list. Prices and hours are approximate, so verify before the demo and add more spots.