WMS ยท Microservices
Katutu WMS
Based in Indonesia
app.katutu.id


Overview
Warehouse management system for Katutu, a fulfillment and logistics company: multi-client, multi-brand inventory with low-stock alerts, inbound receiving, outbound picking, packing and delivery with returns and QC, and a column-mapping tool to import sales orders from marketplace and delivery-app channels per template.
The problem
Katutu WMS is a warehouse management system for a fulfillment and logistics company. Warehouse staff run it day to day, and the company's own clients (brands) sign in to see only their stock and orders. It is a set of Go services with a Vue 3 web app.
A fulfillment company holds stock for several clients and brands in one warehouse, so every record has to belong to the right client. Orders arrive as spreadsheets from marketplace and delivery-app channels, each with different column names, and stock has to stay correct through receiving, picking, packing, shipping and returns.
My part
I built it as a Golang backend and fullstack engineer at Hegemoni Group, on the Go services and the Vue front end.
What I built
- Multi-client master data
- Products, brands, categories, units, warehouses, bin locations, suppliers, customers, couriers, pricelists and clients. Every entity carries a client ID, so one deployment serves several clients.
- Inbound and returns with QC
- Purchase orders, receiving and returns, with a QC step on returns. A return only moves stock back after QC, and it counts good, damaged and partial quantities, including partial returns of bundled products.
- Outbound flow
- Sales orders, picking, packing, delivery orders and shipping labels, with document numbers that follow a prefix, date and counter format that resets daily.
- Channel column mapping and order import
- Admins define a template per sales channel and map each file column to an order field in a Vue screen. The import reads Excel or CSV with that mapping, shows a preview, creates the orders and keeps an import history.
- Stock alerts and dashboard
- Products carry a minimum stock level, and a scheduler checks low stock daily and emails the client. A dashboard combines data from the inventory, inbound and outbound services.
- Billing and reports
- Client invoices with PDF output from per-client pricing rules, an inventory report, and sales order exports with filters.
Decisions that shaped it
- Separate Go services with one pattern
- Auth, master data, inventory, inbound and outbound run as separate services with the same layers: controllers, services, repositories and models. Each service validates sign-in tokens against the auth service, so login rules live in one place.
- Tenancy enforced at every layer
- The client ID sits on the model, the repository filter, the uniqueness check, the service and the controller. A superadmin sees everything, a client user is always scoped, and uniqueness is per client.
- Channel mappings moved from code to the database
- The spreadsheet parser first had hardcoded header maps per channel, so any format change meant a redeploy. The mappings moved into tables managed from the UI, with the hardcoded map kept as a fallback.
- Reserve at order, deduct at dispatch, idempotently
- Stock is reserved when the sales order is created and deducted only when the delivery order is marked sent. After retries once deducted stock twice, a check was added that skips an item when its outbound movement already exists.
- Return completion and stock movement kept consistent
- A return could be marked completed before its stock movement existed, so a failed movement left the data inconsistent. The flow was changed so a movement failure is no longer swallowed.
Where it stands
- Five Go services and a Vue 3, Vite and Tailwind front end, deployed through GitHub Actions with Docker builds.
- Front end modules for dashboard, inbound, outbound with picking and packing, returns, inventory, stock adjustment, master data with channel mapping, billing and role-based access.
- Written incident and fix notes for stock deduction, return movements and billing live next to the code.
Core features
- Dashboard
- Inbound
- Outbound
- Return
- Inventory
- Master data
- Channel mapping
- Administration
Tech stack
- Go (Fiber)
- GORM
- PostgreSQL
- Redis
- JWT
- Vue 3
- Vite
- Tailwind CSS