Filtering the inventory catalogue.
Help people find the records that need attention.
Where this work fits
Inventory work needed more than a product name. Price, quantity, category, availability, and publication status described different things, and users needed to create, find, and update those records.
I built inventory filtering by product name, category, item type, and publication status. The query combined the supplied filters, allowing users to narrow the records returned without filling every search field.
Find the records that need attention
An unpublished product is not an out-of-stock product.
I kept publication and availability as separate fields rather than compressing them into one status. Create and update requests shared validation rules, while partial updates let a user change a field without resubmitting the entire record.
The skills behind the work
- TypeORM
- Work with relational records through typed queries and repository operations.
- Query filtering
- Narrow records to the information a person is trying to find.
- PostgreSQL
- Store relational records and protect related updates with database transactions.
The inventory services supported structured product entry, filtered retrieval, and updates. Businesses could manage those details through defined API operations.