Mobile apps

How to build a loyalty app with QR codes? Lessons from Pieczątkowo

A loyalty app looks simple: customers collect points or stamps and then claim a reward. The devil is in the details – how to add a stamp without a terminal, how not to get cheated and how to get a venue to actually start using it. Here is what we learned building and running our own product, Pieczątkowo.

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.

StampsPoints per amount spent
Rule"10th coffee free"1 unit spent = 1 point, rewards from a catalogue
Who it's forsmall venues with repeat purchasesshops and chains with varied baskets
POS integrationnot neededusually needed to know the amount
Clear to customersinstantlyneeds 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:

  1. The customer shows a one-time QR code valid for 5 minutes in the app.
  2. Staff scan it with the same app on their own phone, signed in to a staff account.
  3. 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.

FAQ

Frequently asked questions

Does a loyalty app have to be on the App Store and Google Play?

Not always. A card can work as a web app (PWA) or in the phone's wallet. A store app, however, gives push notifications, quick access from an icon and smooth code scanning, so for a programme customers use every week it usually pays off.

Is a POS integration needed?

Not for a stamp programme. An integration is only needed when you reward the purchase amount, for example with points per unit spent.

How long does it take to build a loyalty app?

A first version with a mobile app, a panel and an API usually takes a few months. It goes fastest when the MVP covers one reward type and one way of adding points, and the rest is developed after launch.

Related articles

All articles

FINALContact

Got a question? Get in touch

A few sentences about your idea, a rough deadline and budget are enough to start. The first conversation and the initial quote are free and non-binding.

biuro@app4mobile.pl
Get in touch