Mathew Simon.
Back to projects
App

Application de fidélité

A loyalty program in two apps, one for the shop and one for the customer: personal QR code, points earned from receipt amounts and rewards, all on a self-hosted server reachable anywhere.

Application de fidélité 1/5
1 / 5

The second application built for the same client, after the pricing tool. The goal: replace the paper loyalty card with a digital system, without paying a monthly platform fee.

The project is made of two separate apps. On the shop side, the team gets a customer directory searchable by name, phone or loyalty code, with on-the-spot account creation. To credit points, staff simply scan the customer's QR code and enter the receipt amount.

The earning rate is fully configurable: you set how many euros are worth one point (say 25 euros for 1 point), with a live preview of the result. Points are proportional and fractional, so a 10 euro receipt credits 0.4 points rather than nothing at all. A dedicated section manages the rewards those points unlock, such as a free coffee.

On the customer side, the app lets people create an account, review their spending history and display a personal QR code with their current balance, ready to be scanned at the counter.

Infrastructure-wise, everything runs on the PocketBase server already installed at the client's premises for the pricing tool, with strictly separate databases between the two projects. So customers can use the app from anywhere, I exposed the server through a Tailscale Funnel tunnel: the service becomes reachable over HTTPS from outside without opening a port on the shop's network or renting a fixed public IP. A self-hosted server, yet reachable anywhere and anytime from a phone.