The short answer
A good loyalty app has three parts: a mobile app for customers (the card on the phone), a way to add a point or stamp at the till and a panel for the business where rewards are set and statistics are shown. Underneath runs an API with a database, accounts and security. Most of the work isn't the card itself but making the whole thing fast at the till and resistant to abuse.
That's how we built Pieczątkowo – a loyalty app for small businesses (in Polish), designed for cafés, bakeries, barbers and salons.
Stamps or points?
This is the first product decision, and everything else depends on it.
| Stamps | Points per amount spent | |
|---|---|---|
| Rule | "10th coffee free" | 1 unit spent = 1 point, rewards from a catalogue |
| Who it's for | small venues with repeat purchases | shops and chains with varied baskets |
| POS integration | not needed | usually needed to know the amount |
| Clear to customers | instantly | needs explaining |
We chose stamps because they work without a POS integration. That makes a huge difference to rollout costs – and to whether a small venue is willing to try at all.
How to add a stamp without a terminal
The simplest solutions have weak spots. A static QR code at the till can be photographed and scanned at home. A code typed in by staff slows service down. So in Pieczątkowo it works the other way round:
- The customer shows a one-time QR code valid for 5 minutes in the app.
- Staff scan it with the same app on their own phone, signed in to a staff account.
- The server checks the code, the card and the limits, and saves the stamp together with who added it.
It takes a few seconds and needs no hardware beyond the phone the employee already has in their pocket. We scan with the VisionCamera library in React Native – recognition speed in a dimly lit venue really matters here.
Fraud protection
A loyalty programme where stamps are easy to "top up" quickly stops paying off. The safeguards that worked for us:
- one-time, short-lived codes – a screenshot from an hour ago is useless,
- every stamp assigned to an employee – the owner sees who added it and when,
- an optional daily limit of stamps per customer,
- card terms fixed once created – customers know what they're collecting for, and the venue can't change the rules halfway,
- all logic on the server – the app only displays, decisions are made in the API.
The business panel: where rollout is won
The best app won't help if the venue owner gets stuck in the setup. In Pieczątkowo, creating an account, a venue and the first card takes about 10 minutes. The panel instantly generates posters, stickers and social posts with the venue's name, because without a notice at the till customers never hear about the programme. Statistics for 7, 30 and 90 days show how many customers come back.
A second, internal panel is how we run the product: we see new venues, their launch checklist and feature requests. For a SaaS product run by a small team, this tool matters as much as the app itself.
Technology
- Mobile app: React Native (Expo) and TypeScript, one codebase for iOS and Android. The first version was built with Ionic; we rewrote it in React Native for smoother scanning and a native feel – more on choosing the technology in React Native vs native app.
- Backend: NestJS, TypeORM and MySQL on DigitalOcean App Platform.
- Panels: Angular.
- Website and SEO: static HTML with separate pages per industry, for example a loyalty programme for cafés (in Polish).
How much does it cost to build a loyalty app?
It depends on the scope. A simple stamp card for one business with an admin panel is a project in the range of tens of thousands of Polish złoty. A platform for many businesses – with a venue directory, staff accounts, statistics and app store release – is a full SaaS product. We describe the price ranges and cost factors in how much does a mobile app cost.
If a venue in Poland simply needs a loyalty programme, there's nothing to build: Pieczątkowo can be launched right away with no upfront fees. If you want an app of your own – with your brand, integrations or a different reward model – we'll build it using the same experience.
Related services: mobile apps, saas development.