
How do you test a calculation without running the whole app?
Shop Inventory & Sales Management System
A multi-tenant inventory and POS system connecting stock movements, financial records, and role-based access. Built with Next.js and TypeScript, with business logic separated into domain modules and calculation functions that can be unit tested independently.
Explore the projectLook inside this system
Stock movements, financial records, and access permissions meet in one application. Read the work through its workflow, business rules, calculations, and data changes.
The workflow
Inventory and POS workflows connect stock movements with financial records.
The rules
Domain modules separate business logic from facades and database queries.
The calculation
Pure calculation functions can be unit tested independently.
The data changes
Prisma transactions group related database changes.





