I.J.E.M. Encarnation Inventory Management System
Internal inventory, attendance, and payroll system on a Django/DRF backend, with Django Channels for real-time transaction updates and Celery for overdue inventory-return checks.
Purpose
IJEM Encarnation runs inventory, attendance, and payroll for its operations. This system is the Django/DRF backend for that internal platform: a service covering projects, organization, inventory transactions, notifications, attendance, and payroll. It was first built as v1, then rebuilt as v2 with cleaner code and an improved UI, with chat removed and notifications redesigned as a per-user inbox.
My contribution
- Built the v1 Django/DRF backend, then rebuilt it as v2 with cleaner code and an improved UI, with legacy-data migration support.
- Implemented real-time transaction updates with Django Channels, including per-user notification inboxes.
- Implemented Celery tasks for overdue inventory-return checks and background bulk-upsert work.
Architecture
- Split-process deployment: Daphne serves WebSockets, Gunicorn serves HTTP, and Celery worker plus beat handle background jobs, all fronted by Traefik.
- MariaDB is the data store; inventory transactions carry a single overdue definition shared by queries and tasks.
- Channel consumers cover bulk-upsert progress and per-user notifications; the notifications app funnels all writes through one service module.
- Attendance syncs from biometric time clocks and computes worked minutes; payroll handles deductions, records, payments, and reporting.
Challenges & solutions
Overdue inventory returns had to be detected consistently across list views, dashboards, and background checks.
Centralized the overdue definition in one queryset helper so the API, dashboard, and the Celery overdue task all evaluate the same rule.
Bulk inventory upserts needed progress feedback and notifications without broadcasting noise for every row.
Added a broadcast-suppression mechanism around bulk operations, with durable short-lived progress state and a single resolve/broadcast path for transactions.
Notes
- Private internal client system — not publicly available. No public demo or repository link can be shared.