Waniala
Bookkeeping for a posho mill and a few rental rooms
- Role
- Solo developer
- Period
- Nov 2025
- Status
- Used daily by the business it was built for

Problem
A posho mill takes money all day in small amounts and pays electricity, maintenance and wages out of the same pile. A few rental rooms sit alongside it. At the end of the month nobody can say what the business actually made, or whether anything was set aside for the repair that is coming.
Waniala is the system I built for it — deliberately small, and shaped around how the business already works rather than around an accounting model.
What I built
Both halves. A Next.js web application for daily entry and monthly summaries, and a separate Node service that receives M-Pesa till payments and records them without anyone typing anything.
- Posho mill tracker — daily income, expenses, electricity and savings, with a monthly summary and a repair fund calculated at ten per cent of income.
- Rental tracker — rooms, tenants, rent amounts and paid or pending status, with totals for expected, collected and outstanding.
- Dashboard — the whole business on one screen.
- Backend — Daraja OAuth, C2B URL registration for the till, and validation and confirmation endpoints that write payments and income records straight into Firestore.
Engineering
The web application stores its records in the browser, which was the right call for a single operator on one device: it works with no network and needs no account. The M-Pesa side is separate by necessity, because Safaricom has to be able to reach a public URL.
That service registers its confirmation and validation URLs against the till shortcode, exchanges credentials for a Daraja OAuth token, and writes each confirmed payment into Firestore through the Firebase Admin SDK.
Stack
- Next.js 14
- TypeScript
- Tailwind CSS
- Express
- Node.js
- Firebase Admin
- Cloud Firestore
- M-Pesa Daraja C2B
- Render
- Vercel
Where it is now
Deployed and used for the business it was built for. The web app runs on Vercel and the M-Pesa service on Render.
It is the smallest project here and the one that taught me the most about Daraja, because every mistake showed up as a real payment that did not get recorded.
Next project
Help24
A service marketplace with payment held in M-Pesa escrow