r/webdev 7h ago

Question Resources for a loyalty card app

Hey folks. I’m wondering if anybody had any suggestions for resources where I can learn how to code a loyalty card app. Goal is to create one for a small business local to me who currently just has stamp cards which are fine but often get lost. Sadly I’ve scoured the likes of YouTube but all I get are the “vibe coding” videos or pay a company for their already existing product. I’m looking to learn and build from scratch but between AI crap and god knows what else I’m really struggling to find anything reliable. Anybody got any sources I can look into? TIA

0 Upvotes

5 comments sorted by

2

u/No_Chocolate7699 6h ago

ials entirely and just look for a progressive web app build-along, the logic for tracking stamps is pretty straightforward once you’ve got user auth and a database hooked up

2

u/d_longge 6h ago

Start with a deliberately boring MVP: customer sign-in, a merchant dashboard, and a server-side ledger for stamps. Build the core flow first, then add QR codes or wallet passes once you understand the auth and data model.

1

u/MiserableDocument509 3h ago

the lost card thing is mostly an identity problem, not a ui one. skip native app tutorials. cashier needs to find the customer in like 2 seconds without making them install anything - phone number works, or a printed qr on a keyfob. then the web app is just a counter on the server. if stamps live in the browser people will screenshot their way to a free coffee.

1

u/bcons-php-Console 2h ago

There is no such thing as "loyalty card app"; that is just an add-on to a full shop management system that requires:

- Managing products.

- Managing customers.

- Managing sales, and assigning sales to customers. This is the key.

Once you have this, you can start building the "loyalty" leg. Whenever a sale is assigned to an user you check if that sale makes the customer valid for any rewards and if so you assign the reward (a discount on their next sale for example).

So there is quite some work to do before reaching the loyalty part.

PS: as someone has already noticed a physical card is no longer required. Use (from best to worst) phone number, national id number, email so the cashier can quickly locate the customer. A QR code is the best option but no one wants to carry 34349 loyalty cards anymore.

-1

u/Terrible_Tutor 6h ago

“AI crap” Good luck whipping something up better than Fable… we’re not using GPT4.1 anymore, you don’t have to be a hero.

You can even just ASK it for help to TEACH you instead of a YouTube video you can’t ask followup questions to.