Case study · Portfolio demonstration

Inventory API

A REST service for managing products and stock movements, with a read-only explorer for sample data.

Inventory API explorer showing a request and product data in JSON
A live request to the local read-only demo endpoint. The static explorer returns equivalent sample responses in the browser.

Problem

Inventory systems need a consistent way to track a product’s current stock and retain the history of how it changed.

Solution

The local API manages products and categories, records stock movements, and provides filtered, paginated queries. The request explorer uses a separate synthetic catalog.

Key features

  • Authenticated product CRUD and category creation
  • Stock adjustments with history and quantity validation
  • Search, pagination, and a read-only request explorer

Technology stack

Node.js HTTP, SQLite, OpenAPI 3.1, and Docker.

Technical highlights

Stock updates and movement records commit together. Concurrent requests cannot reduce stock below zero. Products with movement history are protected from deletion.