Point of sale and business management
Multi-Branch POS
A multi-branch point of sale system with batch-based inventory, live branch updates and cash flow dashboards, in use by several businesses.
Technologies
- NestJS
- Prisma
- PostgreSQL
- Redis
- Socket.IO
- MinIO
- React
- TanStack Query
- Jest
- Docker
- Origin
- Client idea
- My role
- Developer: planning, development and deployment
- Status
- In use by clients
- Users
- Business owners, branch staff and cashiers
Context
The project began as a client's idea for a more capable POS application.
The business already used POS software, but its functionality was limited.
Problem and impact
What was wrong
The existing software did not adequately support split payments, multiple payment methods, multi-branch operations, ingredient management, inventory requirements or affordable kiosk use.
Why it mattered
To process a split payment, staff had to move or recreate orders by hand, which added work and slowed operations.
Objective
Support online menus, split payments and multiple payment methods.
Track inventory and ingredients across several branches and make kiosk operation more affordable.
What I did
- Planned, developed and deployed the system.
- Covered core modules with Jest unit tests.
Key functionality
- NestJS API and React client covering sales, products and packages, batch-based inventory, bills, budgets and wallets.
- Cash flow dashboards.
- JWT authentication with role-, user- and business-level permissions.
- Live sales and inventory updates pushed to every branch through Socket.IO gateways.
- Docker Compose deployment (PostgreSQL, Redis, MinIO) behind Cloudflare Tunnel.
- API startup gated on successful Prisma migrations.
Engineering challenges
Several businesses and branches share one system, so permissions are enforced at role, user and business level.
Branches need to see sales and stock changes as they happen, which is handled with Socket.IO gateways.
To avoid serving requests against an out-of-date schema, the API only starts once Prisma migrations have succeeded.
Verified outcomes
- In use by several businesses.
References
This is private client or internal work, so there is no public repository or demo.