How aysarali88/warehouse-project works
FTTH Rollout is a FastAPI application for tracking field rollout progress and managing warehouse and site inventory. Users enter daily rollout records in the browser dashboard; the app exposes APIs and persists application data in SQLite or PostgreSQL. Its documented capabilities also include warehouse stock operations, while the repository contains dedicated site-inventory and approval-based site-transfer subsystems. The graph reflects README statements and shown excerpts; several routes and UI areas are represented by their source paths without asserting unsampled call relationships.
Main entry points: site_transfer_service.py Transfer workflow · site_inventory_service.py Inventory ledger · database.py Database setup · site_inventory_api.py Site inventory API
Components 16
Rollout tracking
- Rollout dashboard
static/ftth_rollout.html - FastAPI application
main.py - Rollout records
main.py - Rollout dashboard
apps-script-rollout-dashboard/Code.gs
Persistence
- Database setup
database.py - Application models
models.py
Site inventory
- Materials inventory UI
static/materials_inventory.html - Site inventory API
site_inventory_api.py - Inventory configuration
site_inventory_config.py - Inventory ledger
site_inventory_service.py
Site transfers
- Transfer interface
static/site_transfer_ui.js - Transfer API
site_transfer_api.py - Transfer workflow
site_transfer_service.py
External data
- Survey reader
site_survey_readonly.py
Other components
- Staff user
- Site Survey database
Connections 18
- Staff user → Rollout dashboard: enters progress
README.md - Rollout dashboard → FastAPI application: loads dashboard
README.md - Staff user → FastAPI application: submits records
README.md - FastAPI application → Rollout records: handles records
README.md - Rollout records → Database setup: stores records
README.md - Application models → Database setup: uses base
models.py - Materials inventory UI → Site inventory API: uses inventory
- Site inventory API → Inventory ledger: calls services
site_inventory_api.py - Site inventory API → Inventory configuration: checks gates
site_inventory_api.py - Inventory ledger → Database setup: uses sessions
site_inventory_service.py - Inventory ledger → Application models: queries models
site_inventory_service.py - Transfer interface → Transfer API: sends requests
static/site_transfer_ui.js - Transfer API → Transfer workflow: calls workflow
site_transfer_api.py - Transfer API → Inventory configuration: checks gates
site_transfer_api.py - Transfer workflow → Inventory ledger: uses inventory logic
site_transfer_service.py - Transfer workflow → Database setup: uses sessions
site_transfer_service.py - Transfer workflow → Application models: queries models
site_transfer_service.py - Survey reader → Site Survey database: reads pole counts
site_survey_readonly.py