How divyam20014/qtest_manager works
This repository implements a multi-tenant quality and test-management SaaS: users work with projects and test assets, execute test runs, track defects, and review dashboards and reports. The backend exposes those capabilities through FastAPI and domain services; the frontend provides the application shell and feature routes. Authentication, tenant isolation, authorization, and persistence underpin the product, with separate platform-admin and CI/service-token access planes. The tree and source index establish major feature areas, but most feature implementations were not sampled, so their internal call paths are not asserted.
Main entry points: api Feature endpoints · services Domain services · models Domain records · App.tsx Web app shell
Components 23
Web application
- Web app shell
frontend/src/App.tsx - Feature routes
frontend/src/routes - API client
frontend/src/api/client.ts
API surface
- HTTP application
backend/app/main.py - Feature endpoints
backend/app/api
Quality workflows
- Domain services
backend/app/services - Test assets
backend/app/services - Test execution
backend/app/services/execution_service.py - Defect tracking
backend/app/services/defect_service.py - Requirements
backend/app/services/requirement_service.py - Projects
backend/app/services/project_service.py
Insights and integrations
- Dashboards and reports
backend/app/services/reporting_service.py - Cross-entity search
backend/app/services/search_service.py - CI result ingestion
backend/app/api/ci.py - Background jobs
backend/app/worker.py
Identity and platform
- Tenant authentication
backend/app/services/auth_service.py - Platform-admin MFA
backend/app/services/platform_auth_service.py - Session authorization
backend/app/core/auth.py - Service-token auth
backend/app/core/service_token_auth.py - Domain records
backend/app/models - Runtime foundations
backend/app/core
Other components
- Product user
- SQL database
Connections 22
- Product user → Web app shell: uses
- Web app shell → Feature routes: renders
- Web app shell → API client: calls
- Web app shell → HTTP application: requests
- HTTP application → Feature endpoints: registers
backend/app/main.py - Feature endpoints → Domain services: dispatches
backend/app/api/access_rules.py - Feature endpoints → Domain services: dispatches
backend/app/api/ai.py - Feature endpoints → Domain services: dispatches
backend/app/api/audit.py - Feature endpoints → Domain services: dispatches
backend/app/api/auth.py - Feature endpoints → Test execution: submits results
backend/app/api/ci.py - Feature endpoints → Domain services: manages tokens
backend/app/api/service_tokens.py - Service-token auth → Domain services: authenticates with
backend/app/core/service_token_auth.py - Cross-entity search → Dashboards and reports: checks project access
backend/app/services/search_service.py - Cross-entity search → Domain records: queries
backend/app/services/search_service.py - Cross-entity search → Domain services: scopes cases
backend/app/services/search_service.py - Background jobs → Domain services: runs jobs
backend/app/worker.py - Tenant authentication → Domain records: reads and writes
backend/app/services/auth_service.py - Platform-admin MFA → Domain records: manages sessions
backend/app/services/platform_auth_service.py - Session authorization → Domain records: loads identity
backend/app/core/auth.py - Domain records → SQL database: persists
backend/app/models/identity.py - Runtime foundations → SQL database: provides sessions
backend/app/core/db.py - Runtime foundations → Runtime foundations: loads settings
backend/app/core/db.py