Work/ERP & POS system
Wafi ERP
Accounting and point-of-sale for a retail store, in one system.

- Delivered for
- Direct client
- Our role
- Design · Development · Hosting
- Services
- Platform
- Web app (SPA)
- Languages
- English
Wafi is a full-featured accounting and point-of-sale system for a single retail store: ledger, till, stock, suppliers and customers in one application, with five user roles and a REST API.
Technology
The challenge
What had to be solved
A retail store lives in two worlds: the fast, forgiving till and the strict double-entry books. They have to agree to the cent, while different people touch them: cashiers, stock clerks, managers and accountants, each allowed to do only their part.
What we built
The solution
A React and TypeScript single-page app talks to a Django REST API over JWT cookies. PostgreSQL holds the ledger, Redis and Celery run background jobs, and Nginx sits in front, all started with one docker compose command. Role-based permissions define what each of the five roles can see and do.
Inside the project
How it works.
A double-entry ledger that posts itself
Chart of accounts, journal entries that can be posted or reversed, a general ledger, a trial balance and fiscal years. Every POS sale and goods receipt posts to the books automatically, so the numbers stay correct as the store trades.

A point of sale for the counter
A terminal with shifts, payments, receipts and returns, wired to inventory and the ledger so every sale updates both.
Stock, suppliers and customers
Products and stock levels, purchase orders and goods receiving, supplier records, customer management and loyalty, with dashboard KPIs on top.
Five roles, clear permissions
Admin, Accountant, Manager, Cashier and Clerk each get exactly the access they need, from voiding sales to approving purchase orders.
| Permission | Admin | Accountant | Manager | Cashier | Clerk |
|---|---|---|---|---|---|
| Manage users | |||||
| Financial reports | |||||
| Journal entries | |||||
| Operate POS | |||||
| Void / refund | |||||
| Manage inventory | |||||
| Purchase orders | |||||
| Manage customers |
Scope
What was delivered.
- React, TypeScript and Tailwind front end
- Django REST API with JWT cookie authentication
- Double-entry ledger and trial balance
- POS terminal with shifts, receipts and returns
- Inventory, purchasing and suppliers
- Customers, loyalty and dashboard KPIs
- Role-based permissions for five roles
- Docker Compose for the full stack
The result
A single source of truth for sales, stock and books. The reports engine, bank reconciliation and an audit-log viewer are the next phases.