Inspiration

More than 30% of Munich's residents—including thousands of international students, researchers, and expats—navigate the city every day in English. Yet when they encounter a broken streetlight in Maxvorstadt, a blocked bike lane in Schwabing, or illegal waste dumping in Sendling, reporting it to municipal authorities hits two immediate walls: writing formal German bureaucratic prose (Behördendeutsch) and figuring out which Munich department (Referat) is actually responsible.

As a result, actionable infrastructure issues go unreported. We built MingaBridge to remove both the language barrier and the administrative friction, turning civic reporting into a 30-second, privacy-first workflow.

What it does

MingaBridge bridges international residents and Munich's municipal administration through a map-first civic web application:

  • Interactive Public Civic Map (/): Displays active infrastructure reports across Greater Munich on an OpenStreetMap canvas with category filtering (Street Lighting, Road & Sidewalk, Waste & Dumping, Traffic & Bike Lane, Green Spaces), status filters (Published, Resolved), district search, and a slide-over detail drawer.
  • English-to-Behördendeutsch Report Wizard (/report): Users upload a photo, drop a pin inside Munich's geographic boundaries (with automatic OpenStreetMap Nominatim reverse geocoding), and describe the issue in plain English. MingaBridge classifies the issue, estimates severity, identifies the responsible Munich department (Baureferat, AWM, KVR, or RKU), and generates a structured, editable formal German letter (Sie-Form, Betreff, street address, GPS coordinates, and German date format).
  • DSGVO / Privacy by Design: Before any photo leaves the browser, MingaBridge strips all EXIF, camera, and raw GPS metadata client-side via HTML Canvas sanitization.
  • Zero-Friction Export & Community Verification: Users can publish directly to the public map, upvote existing pins ("Still an issue") to prevent duplicate reports, share standalone permalinks (/reports/[id]), copy the formal German text, launch a pre-filled RFC 6068 mailto: draft to the target department, or download a formatted 1-page A4 PDF.
  • One-Click Demo Presets: Built-in sample cases for Munich districts allow anyone—including remote reviewers—to test the full end-to-end flow immediately.

How we built it

We followed a specification-driven engineering workflow (PRD, ERD, TRD, and a reconciled tokenized design system) to ship a stable, end-to-end web application under hackathon constraints:

  • Frontend & Map Engine: Built with Next.js (App Router), TypeScript, and Tailwind CSS, using Leaflet / React-Leaflet loaded dynamically client-side (ssr: false) over OpenStreetMap tiles with custom high-contrast SVG category markers and strict Munich bounding-box validation.
  • Backend & Data Layer: Next.js API Route Handlers validated with Zod schemas, backed by Supabase (PostgreSQL + Storage + RLS) with an automatic in-memory fallback preloaded with 12 realistic Munich district reports for uninterrupted resilience.
  • Adapter-Pattern Classification & Drafting Engine: Designed AIAnalyzerService with a strict JSON schema contract. The current deployment runs a fast, deterministic lexical classifier and verified Behördendeutsch template engine (mock_deterministic_v1) with zero external API latency or hallucination risk, engineered to swap cleanly to a Vision-LLM (production_vlm_v1) via a single environment flag.
  • Geocoding & Export Utilities: Server-side Nominatim reverse-geocoding proxy with 4-decimal coordinate caching and graceful rate-limit fallback, client-side <canvas> EXIF removal, RFC 6068 mailto: generation, and client-side A4 PDF generation via jsPDF.

Challenges we ran into

  • SSR Compatibility with Leaflet: Avoiding window is not defined errors and broken default PNG marker paths in production Next.js builds required isolating map components via dynamic imports and replacing bitmap icons with custom SVG divIcon markers.
  • OpenStreetMap Nominatim Rate Limits: Nominatim enforces strict request limits (1 req/sec). We solved this with client-side 1000ms debouncing, a server-side proxy with a custom User-Agent, coordinate rounding cache, and clean fallback handling.
  • Balancing Civic Rigor with Speed: Designing a UI that feels trustworthy enough for German municipal workflows—clean contrast, clear department routing, and zero clutter—while keeping the reporting flow under 45 seconds.

Accomplishments that we're proud of

  • Delivered a complete, bug-free end-to-end workflow from interactive map exploration to photo EXIF stripping, English-to-Behördendeutsch generation, live map publication, and A4 PDF / mailto: export.
  • Built genuine Munich domain grounding: bounding-box validation for Greater Munich, accurate mapping to real municipal departments (Baureferat, AWM, KVR, RKU), and compliant formal German letter formatting.
  • Engineered a clean, production-oriented architecture (Adapter Pattern AI service, Zod validation, Supabase RLS schema, and client-side privacy sanitization) rather than a fragile prototype.

What we learned

  • Civic tech succeeds when it respects existing institutional workflows. Instead of trying to replace Munich's municipal systems overnight, translating citizen input into the exact structure and language departments already process creates immediate value.
  • Privacy features like client-side EXIF stripping are straightforward to implement upfront and dramatically improve trust for public-space reporting in Germany.

What's next for MingaBridge

  • v1.1 (Post-Hackathon): Activate the Vision-LLM adapter (production_vlm_v1) to analyze damage directly from uploaded photos, enable client-side auto-blurring for faces and license plates, and add Supabase Auth for personal report tracking (/my-reports) and resolution updates.
  • v2.0 (City-Wide Expansion): Expand input support beyond English to additional community languages (Turkish, Arabic, Ukrainian, Indonesian, Mandarin), add 30-meter spatial duplicate detection when dropping a pin, and explore Open311 / official City of Munich portal integration.

Built With

Share this project:

Updates

Submission history