How innaka-tech/wms-simple works
WMS Simple Enterprise is a trucking and 3PL warehouse-management application. Staff use the Nuxt interface to authenticate and manage master data, receive and put away inbound cargo, process conversions and cross-hub movements, fulfill outbound orders with proof of delivery, and track stock, gate passes, documents, billing, and audit checkpoints. The Hono API routes own these operational actions and persist state through a PostgreSQL access layer. The README documents major capabilities whose precise runtime wiring is not visible in the excerpts; those subsystems are represented without speculative connections.
Main entry points: app.ts Hono API router · db.ts PostgreSQL access · checkpoint.ts Audit checkpoints · stock.ts Stock movements
Components 33
Operations UI
- Nuxt application
frontend/app.vue - WMS API client
frontend/composables/useWmsApi.ts - Login and session
frontend/stores/auth.ts - Inbound receiving
frontend/pages/inbound/receive.vue - De-bulking
frontend/pages/debulking/index.vue - Cross-docking
frontend/pages/crossdock/index.vue - Cross-document
frontend/pages/crossdoc/index.vue - Outbound and POD
frontend/pages/outbound/index.vue - Gate pass
frontend/pages/gate-pass/index.vue - Master data
frontend/stores/master.ts - Billing
frontend/pages/billing/index.vue - Stock view
frontend/pages/stock/index.vue
API and Security
- Hono API router
backend/src/app.ts - JWT and role access
backend/src/middlewares/auth.ts - Authentication routes
backend/src/routes/auth.ts - Master and warehouse data
backend/src/routes/master.ts
Warehouse Operations
- Inbound and putaway
backend/src/routes/inbound.ts - Weighbridge
backend/src/routes/weighbridge.ts - Cargo conversion
backend/src/routes/debulking.ts - Cross-dock transit
backend/src/routes/crossdock.ts - Outbound fulfillment
backend/src/routes/outbound.ts - Stock ledger API
backend/src/routes/stock.ts
Fleet and Documents
- Fleet and gate pass
backend/src/routes/fleet.ts - Document re-issuance
backend/src/routes/crossdoc.ts - Waybill operations
backend/src/routes/waybills.ts - Invoices and payments
backend/src/routes/billing.ts
State and Audit
- Stock movements
backend/src/services/stock.ts - Audit checkpoints
backend/src/services/checkpoint.ts - Checkpoint queries
backend/src/routes/checkpoints.ts - PostgreSQL access
backend/src/db.ts - Database schema
backend/src/pg-schema.ts
Other components
- Operations staff
- PostgreSQL
Connections 48
- Operations staff → Nuxt application: operates
- Nuxt application → WMS API client: uses
- WMS API client → Hono API router: requests
- Hono API router → JWT and role access: authenticates
backend/src/app.ts - Hono API router → Authentication routes: routes to
backend/src/app.ts - Hono API router → Master and warehouse data: routes to
backend/src/app.ts - Hono API router → Inbound and putaway: routes to
backend/src/app.ts - Hono API router → Cargo conversion: routes to
backend/src/app.ts - Hono API router → Cross-dock transit: routes to
backend/src/app.ts - Hono API router → Document re-issuance: routes to
backend/src/app.ts - Hono API router → Outbound fulfillment: routes to
backend/src/app.ts - Hono API router → Fleet and gate pass: routes to
backend/src/app.ts - Hono API router → Stock ledger API: routes to
backend/src/app.ts - Hono API router → Invoices and payments: routes to
backend/src/app.ts - Hono API router → Weighbridge: routes to
backend/src/app.ts - Hono API router → Checkpoint queries: routes to
backend/src/app.ts - Authentication routes → PostgreSQL access: queries
backend/src/routes/auth.ts - Authentication routes → JWT and role access: issues tokens
backend/src/routes/auth.ts - Authentication routes → Audit checkpoints: records audit
backend/src/routes/auth.ts - Master and warehouse data → PostgreSQL access: queries
backend/src/routes/master.ts - Master and warehouse data → Audit checkpoints: records audit
backend/src/routes/master.ts - Inbound and putaway → PostgreSQL access: persists receipts
backend/src/routes/inbound.ts - Inbound and putaway → Audit checkpoints: records stages
backend/src/routes/inbound.ts - Inbound and putaway → Stock movements: adjusts stock
backend/src/routes/inbound.ts - Cargo conversion → PostgreSQL access: persists conversions
backend/src/routes/debulking.ts - Cargo conversion → Stock movements: adjusts stock
backend/src/routes/debulking.ts - Cargo conversion → Audit checkpoints: records audit
backend/src/routes/debulking.ts - Cross-dock transit → PostgreSQL access: persists transfers
backend/src/routes/crossdock.ts - Cross-dock transit → Stock movements: adjusts stock
backend/src/routes/crossdock.ts - Cross-dock transit → Audit checkpoints: records audit
backend/src/routes/crossdock.ts - Outbound fulfillment → PostgreSQL access: persists orders
backend/src/routes/outbound.ts - Outbound fulfillment → Stock movements: adjusts stock
backend/src/routes/outbound.ts - Outbound fulfillment → Audit checkpoints: records delivery
backend/src/routes/outbound.ts - Stock ledger API → PostgreSQL access: queries
backend/src/routes/stock.ts - Stock ledger API → Stock movements: uses movements
backend/src/routes/stock.ts - Stock movements → PostgreSQL access: updates ledger
backend/src/services/stock.ts - Fleet and gate pass → PostgreSQL access: persists gate logs
backend/src/routes/fleet.ts - Fleet and gate pass → Waybill operations: generates numbers
backend/src/routes/fleet.ts - Document re-issuance → PostgreSQL access: persists documents
backend/src/routes/crossdoc.ts - Invoices and payments → PostgreSQL access: persists invoices
backend/src/routes/billing.ts - Invoices and payments → Audit checkpoints: records audit
backend/src/routes/billing.ts - Invoices and payments → Waybill operations: generates numbers
backend/src/routes/billing.ts - Checkpoint queries → PostgreSQL access: reads logs
backend/src/routes/checkpoints.ts - PostgreSQL access → Database schema: initializes
backend/src/db.ts - PostgreSQL access → PostgreSQL: queries
backend/src/db.ts - Inbound receiving → WMS API client: uses API
- De-bulking → WMS API client: uses API
- Cross-docking → WMS API client: uses API