How harshitarocks07-debug/taskflow works
This repository implements a small FastAPI reports service, despite the README describing a separate React task-management app; the inspected Python package and its API are the architecture shown here. The principal workflow serves report-list requests, filters and sorts deterministic in-memory seed records, then returns a paginated response that omits internal-only fields. The source also mentions a CSV export feature, but no export implementation is present in the provided files. Relationships below are limited to calls and model construction visible in excerpts.
Main entry points: main.py Reports API · reports.py Report query · data.py Seed dataset · models.py Report models
Components 5
HTTP layer
- Reports API
app/main.py
Report data and queries
- Report query
app/reports.py - Seed dataset
app/data.py
Response models
- Report models
app/models.py
Other components
- API client
Connections 5
- API client → Reports API: requests reports
app/main.py - Reports API → Report query: queries reports
app/main.py - Report query → Seed dataset: loads records
app/reports.py - Seed dataset → Report models: constructs reports
app/data.py - Reports API → Report models: maps response
app/main.py