How bront888/catalogue-api works
Catalogue API is a small FastAPI product-management service. Clients submit validated product data, then create, list, retrieve, replace, or delete products; listing can filter by category. The API also exposes a health endpoint. Product state lives in a process-local dictionary and is lost on restart. The workflow and relationships are evidenced by README.md and main.py; tutorial.py is a separate tutorial sample, not part of the documented product.
Main entry points: main.py Product and health routes
Components 4
HTTP API
- Product and health routes
main.py - Product validation models
main.py
Product Catalog
- In-memory product state
main.py
Other components
- API client
Connections 4
- API client → Product and health routes: sends requests
README.md - Product and health routes → Product validation models: validates payloads
main.py - Product and health routes → In-memory product state: reads and writes
main.py - Product and health routes → API client: returns responses
README.md