Accounts
- Create account, list accounts, get balance
- Increase, decrease and transfer using atomic $inc updates
(no negative balances, no race conditions)
- Ownership check: users can only access their own accounts
Transactions
- Record every increase/decrease (transfers log both sides with related_acc_num)
- List transactions per account (owner only)
User fixes
- Remove unused simplejwt import (caused ImportError)
- Check for duplicate username on register
- Block soft-deleted users from logging in; return user id on login
- Register UserList route (/user/list), exclude deleted users, escape regex input
- Return 400 for invalid ObjectId instead of 500
- Return 200 instead of 204 with a body on hard delete
Misc
- Add shared helpers (amount parsing, field validation, ownership checks)
- Guard app.run with if __name__ == "__main__"