How dvsumanth/employee_task_tracker works
Employee Task Tracker is a browser-based CRUD application for employee-assigned tasks, including status tracking and summary counts. Users work through the frontend; its JavaScript sends REST requests to FastAPI, whose routes delegate task operations through a service and repository to SQLAlchemy/SQLite. The graph also shows API validation, application route registration, and database setup. Frontend markup and styling are included as product components, but their implementation was not sampled; their detailed wiring is therefore not asserted.
Main entry points: task_router.py Task routes · main.py FastAPI app · task_repository.py Task repository · database.py Database setup
Components 12
Task interface
- Task page
frontend/task.html - Task UI logic
frontend/script.js - Page styling
frontend/style.css
REST API
- FastAPI app
backend/app/main.py - Task routes
backend/app/routers/task_router.py - Request and response schemas
backend/app/schemas/task.py
Task operations
- Task service
backend/app/services/task_service.py - Task repository
backend/app/repositories/task_repository.py
Persistence
- Task model
backend/app/models/task.py - Database setup
backend/app/database.py - SQLite task store
backend/tasks.db
Other components
- Employee
Connections 12
- Employee → Task page: uses
README.md - Task UI logic → Task routes: sends REST requests
frontend/script.js - FastAPI app → Task routes: registers
backend/app/main.py - FastAPI app → Database setup: creates tables
backend/app/main.py - FastAPI app → Task model: loads
backend/app/main.py - Task routes → Request and response schemas: validates and responds
backend/app/routers/task_router.py - Task routes → Task service: delegates
backend/app/routers/task_router.py - Task routes → Database setup: gets sessions
backend/app/routers/task_router.py - Task service → Task repository: delegates
backend/app/services/task_service.py - Task repository → Task model: queries and changes
backend/app/repositories/task_repository.py - Database setup → SQLite task store: configures SQLite
backend/app/database.py - Task repository → SQLite task store: persists tasks
README.md