Inspiration

Munich has hundreds of public courts and tables: basketball, table tennis, football, volleyball, tennis. Most of the time you don't know whether anyone is there, whether the court is open, or who else wants to play. So people stay home, and the courts are "sleepers": good public space that sits unused. We wanted to make it easy to see who is playing and go join them.

What it does

Map of every public court in Munich, built from OpenStreetMap and the City of Munich's open playground data, with opening hours per court. Live presence: check in at a court, and others see in real time that people are there now. Come play / matchmaking: ask for a game at a court. Others nearby can accept, and you both get matched live. Games and scores with rules per sport (sets for table tennis, tennis and volleyball; points or goals elsewhere, draws only in football). Start times respect the court's opening hours. Communities per court with regulars and a points leaderboard. Host tools: court regulars can fix opening and closing times when the open data is wrong. Profiles and our mascot Kindl, who guides new players through a short intro. Privacy by design: the server never stores user positions. Check-ins are verified on the server.

How we built it

App: Expo / React Native with Expo Router and TypeScript, react-native-svg and Reanimated for the mascot animations. Backend: Node 22 and SQLite (node:sqlite), with WebSockets for live updates and optimistic writes on the client. Data: OpenStreetMap (ODbL) and City of Munich open data (dl-de/by-2-0). Ops: A hardened Docker image for amd64 and arm64 (distroless, non-root, read-only, no capabilities), published to GHCR. GitHub Actions CI with tests, a Trivy vulnerability scan and Dependabot. Deployed behind a Cloudflare tunnel.

Challenges we ran into

Reliable real-time updates on mobile networks: dead sockets after a Wi-Fi/LTE switch, which we fixed with heartbeats, a watchdog reconnect and retries. Sport-specific scoring rules. Messy open data: missing or wrong opening hours, which led to the host tools. Four people pushing to one repo in 36 hours.

Accomplishments that we're proud of

A real end-to-end product: two phones can find each other at a court and play a scored match live. It is deployed on our own server. It has a production-grade, secure container pipeline.

What we learned

Real-time state on flaky mobile connections is hard. Open city data is valuable but needs a community to correct it.

What's next for Sleepers

Push notifications. Store releases (the Android pipeline is drafted). Caching the court data on the server. Partnering with the City of Munich so the corrections the community makes flow back into the open data.

Share this project:

Updates

Submission history