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
Web & app developmentUI/UX designHosting & servers
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

React 18TypeScriptViteTailwind CSSDjango 5DRFCeleryPostgreSQLRedisDocker

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.

Feature 1

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.

Wafi ERP
Feature 2

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.

Point of sale
Terminal
Shifts
Payments
Receipts
Returns
Void / refund
Feature 3

Stock, suppliers and customers

Products and stock levels, purchase orders and goods receiving, supplier records, customer management and loyalty, with dashboard KPIs on top.

Inventory & purchasing
Products
Stock levels
Purchase orders
Goods receiving
Suppliers
Customers & loyalty
Feature 4

Five roles, clear permissions

Admin, Accountant, Manager, Cashier and Clerk each get exactly the access they need, from voiding sales to approving purchase orders.

PermissionAdminAccountantManagerCashierClerk
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.

Start a project

Have a project in mind?

Tell us about it[email protected]
+963984875010
Homs, Syria