Company: Tech Japan_12july
Difficulty: medium
Overview This is the backend API for an in-house warehouse management system. It is functional, but several bugs have been reported and code improvements are needed to support future feature additions. Warehouse operations follow a workflow in which inventory is temporarily "reserved" against a customer order, then drawn down at shipment. Whether the current code fully expresses that workflow is for you to judge after reading it. Investigate the repository, identify issues, and fix them. The scope and priority of fixes are up to you. If you determine that structural improvements are necessary, document your approach. Background / Purpose The inventory API is built with Express (TypeScript) and PostgreSQL. The initial implementation was done under time pressure. The system is operational but has both known and latent issues. Questions to the problem authors are not accepted. If you face ambiguous decisions, write them in docs/open-questions.md . For each question, record the assumption