product study · own product · mobile app
Trejd
Trejd is a barter app for people who live near each other. You browse what others offer, put your own things on the table, negotiate, meet in a public place and rate the trade. The interface is Polish and the first market is the Tricity area.
- type
- own product
- year
- 2026
- status
- TestFlight, v1.0.4
- role
- solo, design to deploy
The hard parts
-
01
Billing without a middleman
Subscriptions run on StoreKit 2 through a small Swift module I wrote, with no third-party billing service taking a cut. The phone sends Apple's signed receipt to the server, the server verifies it against Apple's root certificate, and App Store notifications drive an idempotent state machine. The phone never decides who is Premium.
-
02
AI that screens, humans that decide
Every photo goes through Claude before it is listed. Clean photos are approved automatically, photos with real faces or nudity are rejected, and anything the model is unsure about waits for a person. Users can appeal. The same model drafts the title and description from the photo, so listing an item takes seconds.
-
03
The design is a contract
Each of the 130 design frames is mapped to a route, a status and its tests. A parity script fails the build when the app drifts from the design, so what was designed is what ships.
-
04
Tests that notice what is missing
One test file per screen, plus journey tests across whole flows and a check that fails when a screen has no test at all. A fake API enforces the same rules as the real server.
-
05
Safety is never the paid feature
Accounts from age 13 come with guardian accounts, reporting and blocking. Moderation, chat and core trading stay free. Premium only raises limits: more photos, more offers, a wider search radius.
-
06
Infrastructure sized to the product
Production started on ECS and RDS, defined in Terraform. Once real usage was known I moved it to a single Docker Compose host with hourly database dumps to S3: far cheaper, and still restorable.
In numbers
- 11 weeks from first commit to v1.0.4
- 130 design frames, each tied to a route and its tests
- 13 user flows, from guest browsing to rating a trade
- ~1,500 automated test cases across app and API
stack · Expo · React Native · TypeScript · NestJS · Prisma · PostgreSQL · Swift (StoreKit 2, passkeys) · Claude API · AWS · Terraform
What it
shows
A complete consumer product built by one person: native billing, AI moderation in production code, a tested API and a repeatable release process.