Gyms run on paper and memory
Liftuno is a gym-management platform I am building for a client in Bangladesh. Many local gyms track members, payments, attendance and outstanding balances in paper records or in a staff member's head. Daily work is slow, and financial history becomes ambiguous the moment anyone disagrees.
The product has to support English and Bangla, Bangladeshi taka, Asia/Dhaka dates and phone-first use, with an Android client planned on the same foundation.
Inactivity is not debt
Most billing software starts from a recurring charge: every month, the member owes a fee. That model breaks on how gyms actually work. A member who does not come for three months has not borrowed three months of fees. They just stopped coming.
So Liftuno models prepaid coverage. A payment buys a coverage period. When it expires, no new charge appears. When the member returns and is recorded, the next payable period begins. Expired coverage and money owed stay two different facts, and staff can see which is which.
Partial payments, offers and reversals keep explicit financial meaning on top of that model, instead of being edits to a running balance.
Software should record financial reality, not generate it from a calendar.
A retry must never create a second payment
Gym front desks work on unreliable connections, and people tap buttons twice. Payment and attendance commands carry stable command identities, and uniqueness rules ensure that retrying a request cannot duplicate a transaction or record two check-ins for the same day.
This had to be in the domain from the start. Adding idempotency after duplicates appear means cleaning up money that already looks real.
The backend decides who sees which gym
Platform operators, gym administrators, staff and members need different permissions with strict separation between gyms. Protected reads and commands resolve access grants inside Convex, so the backend never trusts a role or organisation choice made by the interface.
Authentication uses Better Auth with an invitation lifecycle and an account-attempt budget. The highest-risk financial and access rules are covered by domain, authentication and backend integration tests, and the web app and planned Android client share one Expo codebase while platform-specific behaviour stays explicit.
