MAK Ledger

A small REST-first app to track money you lend and get repaid — with role-based access, encrypted logins, personal expense tracking, and monthly reports. The Next.js UI is just one client; every feature is a plain REST endpoint any frontend can use.

Roles

User — signs up, views their own ledger and reports.
Admin — records transactions for users (permissions granted by a super admin).
Super admin — full access: manage every user and admin, and toggle admin permissions.

How the ledger works

An admin records entries on a user's ledger:
debit — money the user borrowed / owes.
credit — money the user repaid.
Balance = total debit − total credit. The user opens their dashboard anytime to see up-to-date monthly and all-time reports.

Personal expenses

Every user can also track their own monthly spending from the dashboard — add, edit, and delete expenses by category and see a per-month total and breakdown. Expenses are private: only you can see yours.

Account lifecycle

You can delete your own account anytime from the dashboard. Deletion is reversible for 30 days — just log back in to restore it — after which it becomes permanent. Accounts are never deleted just for being inactive.