How narendrakumar9867/issue-tracker works
This repository is a small FastAPI issue-tracking API. A client request enters the application, passes through timing/CORS middleware, and reaches the issue routes; those routes validate and serialize issue data, then read or write JSON-file persistence. The API also exposes a health check and auto-generated documentation. CRUD, validation, storage, middleware, and documentation are represented; the documentation and CORS capabilities are README-documented rather than separately implemented in sampled files.
Main entry points: main.py FastAPI app · issues.py Issue CRUD routes · storage.py JSON storage · timing.py Timing middleware
Components 10
API entry
- FastAPI app
main.py - Timing middleware
app/middleware/timing.py - CORS policy
main.py - Health check
main.py - API documentation
main.py
Issue handling
- Issue CRUD routes
app/routes/issues.py - Issue schemas
app/schemas.py
Persistence
- JSON storage
app/storage.py - Issue data file
Other components
- API client
Connections 9
- API client → FastAPI app: sends requests
README.md - FastAPI app → Timing middleware: registers middleware
main.py - FastAPI app → CORS policy: configures CORS
main.py - FastAPI app → Health check: serves health
main.py - FastAPI app → Issue CRUD routes: mounts routes
main.py - FastAPI app → API documentation: exposes docs
README.md - Issue CRUD routes → Issue schemas: validates and serializes
app/routes/issues.py - Issue CRUD routes → JSON storage: loads and saves
app/routes/issues.py - JSON storage → Issue data file: reads and writes
app/storage.py