Paira: features that fail safe, from the database to the phone
Paira is a double-dating app in Detroit. Singles meet in groups of four at partner venues around the city. Since September 2026 I've worked with its small team as a Forward Deployed Full Stack Design Engineer. I take a feature from the founders' brief through the team's review to production, across the mobile app, the partner portal and the database. This page covers the main ones, what they changed for members and for the team, and who did what.
What those numbers mean A moderation service can time out, a key can expire, and a phone can send a file in the wrong format. A simple pipeline deletes the photo in every one of those cases. Here, only a confirmed policy match removes one. A cache that never hit also meant every photo was checked twice, so fixing it halved the moderation calls. And the team can now send a routine campaign or set up a new venue partner from the portal without asking an engineer. Paira's user and revenue numbers stay with Paira, so these are the outcomes I can show.
The job
Forward deployed means I work inside someone else's product. At Paira that's three codebases: a React Native app built with Expo, a partner portal in React, and a Supabase backend with Postgres and edge functions that run on Deno. Most features touch all three. One feature means the schema and the migration, the function that does the work, the portal screen, the app screen, the tests, and a runbook for whoever looks after it next.
I design and I build, so the words on a screen and the code behind it usually come from the same person. On a small team, that saves a round of handoffs.
Every feature followed one rule. When our system fails, the member shouldn't pay for it.
Who did what
Paira's founders set the direction. They write the briefs and make the product calls, like which photos a dating app should hold back. Their engineers, in-house and from an agency partner, review every pull request, and CI applies the migrations and deploys.
My part sits in between. I take a brief and own the feature across all three codebases: the data model, the backend functions, the screens, the copy, the tests and the docs. When a question is a product call, I write it up in plain words and put it in front of the founders. I don't settle it myself. Before a pull request goes up, I have the change reviewed by other AI models and tested on real devices where a harness can't reach. Their findings stay on record, including the claims of mine they proved wrong.
Photos: only a policy decision removes one
A dating app has to screen every photo before strangers see it. Paira's photos go through Amazon Rekognition, and profile text goes to a separate text model. I built the photo side: a format check that reads the real bytes instead of trusting the file name, the call to Rekognition with a timeout and one retry, and a router that turns its labels into a decision.
The labels weren't the hard part. The failure paths were. A moderation service times out. A credential expires. A phone sends a HEIC file named .jpg. A simple pipeline treats every one of those as a bad photo, and bad photos get deleted. So I split the outcomes by whose fault they are.
Then came the filters: the rules that decide which kinds of content get a photo blocked, held for review or approved. I built a test set of sample images for each risky category and ran it against the moderation service. It showed ordinary beach photos being held for review when they didn't need to be. The founders approved a narrow fix for those, and the higher-risk categories still go to review. I reran the same images, and nothing else changed.
The same runs caught a cache that could never hit, so every photo was being moderated twice. Fixing it halved the calls. Then I tried to break the whole thing. I traced every path that could delete a photo and ran the flow on real devices, not just in the test harness. It shipped with a production runbook: how to roll it out, what to check after, and how to roll it back.
Push campaigns you can't take back
Paira's team wanted to reach members directly: a new venue, an event this weekend, an offer from a partner. That's a push campaign, and pushes have one property that shapes everything. Once one is sent, it can't be recalled.
So everything you can undo happens before the send. In the portal, an admin picks a campaign type and a destination from a fixed list, never a raw link. The audience is limited to cities Paira has launched in, and the portal shows exactly who matches before anyone presses send. Sends can go out now or on a schedule, and a scheduled one can be cancelled until it leaves. Production campaigns sit behind their own switch, off by default.
On the phone, a campaign arrives as a push and as a card in the app's Notification Center. Members who switch off Paira Recommendations in settings don't get them. Back in the portal, every campaign has its own funnel, from sent to opened. The system has been live since October, and the team sends campaigns on its own.
Updates nobody gets stuck on
Expo lets a team ship app changes over the air, without waiting for a store release. The catch is that a downloaded update does nothing until the app restarts, and people rarely restart apps. I built the prompt in two tiers. Most updates show a banner: apply now, or dismiss it and keep going. An update the app can't run without gets a full-screen restart instead.
The app records when the banner is shown, dismissed and applied, so the team can see whether people actually move to the new build. Both tiers have Maestro end-to-end flows. That matters for a prompt that only appears after a release, which is exactly when nobody is looking at it.
Tools for the team
Two smaller pieces were about the team's own day. An admin can now create a venue partner's account and an approved venue in one step from the portal. The partner gets a link to set a password. The portal shows who hasn't set one yet, and a resend is one click. Every account change is logged and rate-limited.
The second piece is email. When a partner offer needs review, an offer goes live, or a venue applies to host an event series, the right people on the team get an email. A review no longer depends on someone happening to check the portal.
The unglamorous half
Some of the work is plumbing nobody notices until it's wrong. I got the Android build installing cleanly, wired push notifications through Firebase Cloud Messaging, and made the store wording right on each platform.
On subscriptions, the app now refuses to start RevenueCat with a key meant for the other platform. I also built expiry handling that respects billing grace periods, so a card that fails once doesn't cut a member off on the spot, and wrote the reconciliation runbook that goes with it.
How I work in a codebase that isn't mine
A few habits did most of the work.
- Check the real system. A fixture I wrote is a second copy of my own assumptions. The bugs that mattered showed up when I queried live data.
- Break my own tests. A green suite proves nothing until I change the behaviour on purpose and watch a test fail.
- Ship the docs with the code. Every feature here has a guide and a runbook, written for whoever is on call.
The stack: React Native, Expo and TypeScript in the app. React and Vite in the portal. Supabase for Postgres, row-level security and edge functions. Amazon Rekognition for photos, RevenueCat for subscriptions, Expo push with FCM for notifications, SendGrid for email. Maestro, Jest, Vitest and Deno's test runner for tests, with Git, GitHub and CI around all of it.
What worked, what isn't finished
What worked. Every delete path I traced now keeps the photo when the failure is ours. Campaigns are live and the team runs them. App fixes reach members without waiting for a store review, and the team can see who has moved to the new build.
What isn't finished. The subscription grace-period fix is waiting on the next production release. One filter rule still waits on a product decision, and it's written up for the founders with the evidence for and against.
The work is ongoing. This page sticks to what I built and how, and keeps Paira's internal numbers out of it. joinpaira.com ↗
If your team is small and your backlog runs across the app, the backend and the design, that's the work I like most. What's the feature you keep putting off? Tell me about it →