Back to Projects
Shop Inventory & Sales Management System
Fullstack Developer
An Enterprise Resource Planning (ERP) and POS system designed for multi-tenant environments. Developed with Next.js 14 and TypeScript. Features include Role-Based Access Control (RBAC), real-time stock management, and automated financial records. The system utilizes a Hybrid Domain-Driven Design (DDD) architecture and includes a suite of 199 unit tests to ensure system stability.
Key Features
- 01Multi-tenant architecture for independent shop data isolation
- 02Hybrid Domain-Driven Design separating Facades, Domain Logics, and DB Queries
- 03Database Transactions via Prisma to manage data concurrency
- 04Stock Availability Engine for real-time inventory adjustments
- 05Automated Financial Postings for Ledgers, Taxes, and Invoices
- 06Role-Based Access Control (RBAC) for permission management
- 07Centralized Audit Trail for logging critical system actions
- 08Unit testing implementation (199 test cases via Vitest)
Highlights
- Service Layer Refactoring into modular subdomains
- Implementation of pure functions for calculation engines to facilitate testing
- Type safety enforcement using TypeScript and Zod
- Database query optimization to manage connection pooling
Technologies
Next.js 14TypeScriptPrisma ORMPostgreSQLVitestTailwindCSSNextAuth.jsSupabaseZod
Responsibilities
- •System architecture and database schema design
- •Service layer refactoring using Facade and Domain patterns
- •Implementation of authentication and RBAC workflows
- •Development of inventory tracking and financial logic
- •Creation of unit test suites to verify business requirements
- •Configuration of CI/CD pipelines and deployment via Vercel































