The Izzathul Islam Cultural Centre runs on small monthly contributions and volunteer collectors. This app is how its committee keeps track of members, who has paid for which month, what was promised for each event, and where every rupee went.
It replaced an older version built on Angular and a hosted database. The rebuild kept every feature and every money rule, and moved to the same shape as Kosh: one Go binary serving the API and the React app, with all data in one SQLite file.
The money rules
- One row per rupee moved. Every transaction records which fund it belongs to and which account holds it: cash with the admin, the bank, or a named collector.
- Oldest month first. A monthly payment always fills the oldest unpaid month before any newer one.
- Amounts can change without rewriting history. A fund can be the same amount for everyone or a personal amount per member, and it can change from a chosen month without touching earlier months.
- Nothing is edited or deleted. A wrong entry is voided with a reason, and the months it covered become unpaid again. Database triggers enforce this, so the rule holds even if the app has a bug.
An end-to-end test covers every one of these rules.
Who can see what
Only signed-in staff see anything. Admins can do everything. Collectors can record money and members but cannot change settings, funds or logins.
The public can open exactly one thing: the page behind the QR code on a member’s ID card. It shows the name, photo, member ID, a partly hidden phone number and whether this month is paid.
Lists that arrive on WhatsApp
Event pledges arrive as WhatsApp lists in Malayalam or English. The app reads those lists in, and writes accounts, pledge lists and bills back out in either language, ready to paste into a group.