How qure-kiran/poc-project works
Job Notifier accepts job requests, runs simulated multi-step workflows asynchronously, records job and step history in SQLite, and notifies a fixed recipient when a job completes or fails. Users can inspect jobs and recent notifications through a server-rendered dashboard. The graph separates request handling, workflow execution, persistence, and notification integration; it also shows logging as an internal operational layer. The README documents notification-service behavior and workflow capabilities; unsampled templates and integrations are represented only where their paths or relationships are supported.
Main entry points: app/jobs.py Job runner · routes/jobs.py Job endpoints · dashboard.py Dashboard endpoints · db.py History access
Components 13
Web interface
- FastAPI app
app/main.py - Job endpoints
app/routes/jobs.py - Dashboard endpoints
app/routes/dashboard.py - HTML views
templates
Job execution
- Workflow definitions
app/job_templates.py - Job runner
app/jobs.py
Job history
- History access
app/db.py - Job history
Operations and alerts
- Service settings
app/config.py - Notification client
app/notifier.py
Other components
- User
- Notification service
- Logging library
Connections 19
- User → Job endpoints: submits jobs
README.md - User → Dashboard endpoints: views status
README.md - FastAPI app → Job endpoints: registers routes
app/main.py - FastAPI app → Dashboard endpoints: registers routes
app/main.py - FastAPI app → History access: initializes database
app/main.py - FastAPI app → Logging library: configures logging
app/main.py - Job endpoints → History access: creates job
app/routes/jobs.py - Job endpoints → Job runner: starts task
app/routes/jobs.py - Job endpoints → Workflow definitions: validates type
app/routes/jobs.py - Job runner → Workflow definitions: loads steps
app/jobs.py - Job runner → History access: updates history
app/jobs.py - Job runner → Notification client: publishes result
app/jobs.py - Job runner → Logging library: logs steps
app/jobs.py - History access → Job history: reads and writes
app/db.py - Dashboard endpoints → History access: loads jobs
app/routes/dashboard.py - Dashboard endpoints → Notification client: fetches notifications
app/routes/dashboard.py - Dashboard endpoints → HTML views: renders views
app/routes/dashboard.py - Notification client → Notification service: sends and fetches
README.md - Notification client → Service settings: reads credentials
app/notifier.py