PitStop
The right to use café toilets, by subscription
App screenshotsScreen by screen
01The map: the pass is active, eight toilets nearby, and "Nearest" computes the route.
02The walking route drawn on the map, with duration and distance.
03The pass you hold up at the counter: rotating QR, ticking clock, validity.
04Open the route in Apple Maps or Google Maps.
Role
Freelance
An app that sells the right to walk in. A €1 monthly pass opens the toilets of a network of partner cafés, with the map, walking directions, the access instruction and a pass you show at the counter. Three proofs of visit, a space for café owners with no app or account, and a simulated payment, labelled as such.
What's inside
- Map and list of partners, walking directions, venue sheets with structured hours and the access instruction.
- Full-screen pass with a ticking clock, and a QR code rotating every 15 seconds, HMAC-signed, single-use.
- QR sticker scanned with the native camera, no camera permission, and a 4-digit backup code.
- Café-owner space in plain HTML, identified by a URL token: footfall, scanner, pause, printable kit.
- Device-first identity: you pay and use the app without an account. Fully offline.
- NestJS, MongoDB, Expo, TanStack Query, Zustand. 26 documentation pages, six architecture decisions.
In detail
01Where it comes from
PitStop comes from an entrepreneur who contacted me, as a freelancer, with a precise idea. Sell the right to use café toilets, by subscription, instead of leaving people to negotiate at the counter or order a coffee they don't want.
My job was to turn that idea into a product you can show and let people try, the app, the café-owner space, the back-office, and the documentation that lets someone else pick the project up after me.
02The idea
Clean toilets already exist, in cafés. What's missing isn't a place, it's the right to walk in without ordering a coffee or negotiating at the counter. PitStop sells that right in advance, as a subscription, a monthly pass at €1 or a 72-hour visitor pass at €1.50.
There are three parties and only one of them pays. The subscriber gets a map, a pass and access instructions. The café owner opens their toilets and gets footfall, with no constraint and no cost. PitStop connects the two.
Payment is simulated, and the app says so. The route is literally called mock-subscribe, and the network is a demonstration of eight Paris venues.
03The subscriber's journey
The map shows the partners around you, blurred behind a banner until you hold a pass. A "Nearest" button computes the walking route through OSRM, capped at 10 km. The list, sorted by distance, accepts one filter at a time, because in an emergency you don't compose a query, you tap once.
The venue sheet carries the essentials. Structured hours with an "Open · closes at 11pm" badge, walking distance, accessibility, a photo of the entrance, and above all the access instruction, "Toilets downstairs, show the app at the counter". It's the most important field in the whole app.
The pass is the screen you hold up at the counter. Full-screen teal, like a boarding pass, with two proofs of life against screenshots, a clock ticking by the second and a continuously animated badge.
Everything works offline. TanStack Query persists the partners, their instructions and their hours, along with the session, otherwise an offline subscriber would land back on the paywall. The rotating code is never persisted, since a stale code would only get you turned away.
04Three proofs of visit
The sticker first. A static QR code by the till, scanned with the native iOS camera. The app opens through a deep link, checks the pass and records the visit. No embedded QR reader, no camera permission, so it shipped over the air. The limit is accepted, it identifies the venue, not the person.
Then the rotating code. The subscriber shows a QR code that changes every 15 seconds and the counter scans it. The token is HMAC-SHA256 signed with a derived secret, lives 20 seconds, works once, and needs no storage between issue and scan. There are four distinct refusals, each with its own message, so the counter knows what to say.
And the safety net. A 4-digit code per partner, typed by the owner on the subscriber's phone, limited to 10 attempts per minute. With deduplication, the same subscriber only counts once per hour at the same partner.
05The café owner and the team
There is no café-owner app, on purpose. No shopkeeper will install an application to say their toilets are being cleaned. They get a web page, with no account or password, where the token in the address serves as identification, rendered in plain HTML so it opens on a 2015 phone sitting next to the till.
On that page, they see their footfall, scan the subscriber's code from the browser, pause for 24 hours at most, during which they vanish from the map, find their backup code and can report a problem. A printable A4 kit provides the sticker, the code and four lines of explanation.
For the team, an admin screen with statistics, reports, partners and the latest sign-ups, adding a venue through Google Places, and an embedded scanner that hits the café owner's real route.
NestJS 10 and MongoDB in strict TypeScript, Expo SDK 52 and React Native 0.76 on the new architecture, expo-router, TanStack Query, Zustand. Identity is device-first, you can pay and use the app without an account. 15-minute access tokens, refresh tokens in HttpOnly cookies with rotation, bcrypt, Helmet, throttling. 34 backend tests, 33 frontend, 26 pages of documentation with six architecture decisions. Distributed through EAS Update on three channels.