for Kesari Club · Jodhpur, India· Jun 2026 – Jul 2026
Kesari Club
A membership card that unlocks discounts at partner businesses.
- membership cards redeemed at checkout
- QR
- passwords — WhatsApp OTP login
- 0
rgautam320=# EXPLAIN ANALYZE SELECT * FROM kesari_club;
- member
- partner_business
- member to membership_card
- member to redemption
- partner_business to offer
- partner_business to redemption
- offer to coupon
- coupon to redemption
Client: Kesari Club Market: Jodhpur, India Execution time: 2 months
Overview
A lifestyle membership platform for Kesari Club in Jodhpur. Members carry a QR-code card and redeem offers at partner businesses; every redemption is recorded, so members can see their history and total savings.
role = Developer — data model, authentication, membership cards, member dashboard
Data model
Entities from the data model I designed. Relationships are drawn from how the features use them.
rgautam320=# \d+ kesari_club
| from | to | cardinality |
|---|---|---|
| member | membership_card | one-to-one |
| member | redemption | one-to-many |
| partner_business | offer | one-to-many |
| partner_business | redemption | one-to-many |
| offer | coupon | one-to-many |
| coupon | redemption | one-to-many |
(6 relationships)
Features
rgautam320=# SELECT feature FROM kesari_club.features;
| feature |
|---|
| Passwordless login with WhatsApp OTP verification |
| QR-code membership cards linked to each member’s account |
| Offers and coupons redeemed at partner checkouts |
| Member dashboard: card, available coupons, transaction history and total savings |
(4 rows)
Decisions
$ git log --format='%h %s%n%n %b' -- decisions/
013843d decision: Passwordless sign-in over WhatsApp
Members log in with a one-time code sent on WhatsApp instead of a password.
98f193b decision: The card is the account
Each QR-code membership card is linked to one member’s account and scanned at the partner’s checkout to redeem an offer.
f0f0bc9 decision: Redemptions as transactions
Every redemption is stored as a transaction against the member, the coupon and the partner, which is what makes usage history and total savings possible.
Outcomes & stack
rgautam320=# SELECT outcome FROM kesari_club.outcomes;
| outcome |
|---|
| Live at kesariclub.com. |
| Members see every redemption and their total savings. |
(2 rows)
rgautam320=# SELECT string_agg(tech, ' · ') FROM kesari_club.stack;
| string_agg |
|---|
| Next.js · NestJS · MongoDB · REST APIs |
(1 row)