How chandrahaas11/intellidesk-ai-assisted-it-service-ticketing-system works
IntelliDesk is an AI-assisted IT helpdesk: employees submit tickets, the backend classifies and routes them, and employees, agents, and admins track or manage ticket lifecycles through role-specific views. The backend also provides analytics, audit history, SLA monitoring with escalation, and similar-ticket/knowledge-base suggestions. The graph follows documented API and service responsibilities; some router and page internals are unsampled, so those connections rely on the README or SOURCE INDEX references rather than inspected implementations.
Main entry points: App.jsx Role-based app routes · client.js API client · models.py Users, tickets, SLA, history · main.py FastAPI application
Components 27
Web application
- Role-based app routes
frontend/src/App.jsx - Session context
frontend/src/context/AuthContext.jsx - API client
frontend/src/api/client.js - Ticket submission
frontend/src/pages/SubmitTicket.jsx - Ticket views
frontend/src/pages/MyTickets.jsx - Ticket detail
frontend/src/pages/TicketDetail.jsx - Agent queue
frontend/src/pages/AgentQueue.jsx - Admin ticket list
frontend/src/pages/AllTickets.jsx - Analytics dashboard
frontend/src/pages/Analytics.jsx - Ticket list component
frontend/src/components/TicketList.jsx - Status and SLA badges
frontend/src/components/Badges.jsx
API and identity
- FastAPI application
backend/app/main.py - Authentication endpoints
backend/app/routers/auth.py - User endpoints
backend/app/routers/users.py - Analytics endpoints
backend/app/routers/analytics.py - JWT and password security
backend/app/auth.py - Identity and role checks
backend/app/deps.py
Ticket operations
- Ticket endpoints
backend/app/routers/tickets.py - Ticket lifecycle service
backend/app/services/ticket_service.py
Classification and SLA
- Ticket classifier
backend/app/ml/classifier.py - Similar ticket and KB suggestions
backend/app/ml/similarity.py - SLA monitor and escalation
backend/app/services/sla_engine.py
Persistence
- Database sessions
backend/app/database.py - Users, tickets, SLA, history
backend/app/models.py - Relational database
Other components
- Employee
- Agents and admins
Connections 40
- Employee → Role-based app routes: uses
frontend/src/App.jsx - Agents and admins → Role-based app routes: uses
frontend/src/App.jsx - Role-based app routes → Ticket submission: routes to
frontend/src/App.jsx - Role-based app routes → Ticket views: routes to
frontend/src/App.jsx - Role-based app routes → Ticket detail: routes to
frontend/src/App.jsx - Role-based app routes → Agent queue: routes to
frontend/src/App.jsx - Role-based app routes → Admin ticket list: routes to
frontend/src/App.jsx - Role-based app routes → Analytics dashboard: routes to
frontend/src/App.jsx - Ticket submission → API client: submits via
frontend/src/pages/SubmitTicket.jsx - Ticket views → API client: loads tickets
frontend/src/pages/MyTickets.jsx - Ticket detail → API client: loads and updates
frontend/src/pages/TicketDetail.jsx - Agent queue → API client: loads tickets
frontend/src/pages/AgentQueue.jsx - Admin ticket list → API client: loads tickets
frontend/src/pages/AllTickets.jsx - Analytics dashboard → API client: fetches metrics
frontend/src/pages/Analytics.jsx - Session context → API client: calls auth API
frontend/src/context/AuthContext.jsx - Ticket views → Ticket list component: renders
frontend/src/pages/MyTickets.jsx - Agent queue → Ticket list component: renders
frontend/src/pages/AgentQueue.jsx - Admin ticket list → Ticket list component: renders
frontend/src/pages/AllTickets.jsx - Ticket list component → Status and SLA badges: uses
frontend/src/components/TicketList.jsx - API client → FastAPI application: HTTP API calls
README.md - FastAPI application → Authentication endpoints: registers
backend/app/main.py - FastAPI application → Ticket endpoints: registers
backend/app/main.py - FastAPI application → User endpoints: registers
backend/app/main.py - FastAPI application → Analytics endpoints: registers
backend/app/main.py - FastAPI application → SLA monitor and escalation: starts scheduler
backend/app/main.py - Authentication endpoints → JWT and password security: hashes and issues tokens
backend/app/routers/auth.py - Authentication endpoints → Identity and role checks: checks identity
backend/app/routers/auth.py - Ticket endpoints → Ticket lifecycle service: delegates lifecycle
backend/app/routers/tickets.py - Ticket endpoints → SLA monitor and escalation: checks SLA status
backend/app/routers/tickets.py - Ticket lifecycle service → Ticket classifier: classifies ticket
backend/app/services/ticket_service.py - Ticket lifecycle service → Similar ticket and KB suggestions: requests suggestions
backend/app/services/ticket_service.py - SLA monitor and escalation → Ticket lifecycle service: writes audit history
backend/app/services/sla_engine.py - Ticket lifecycle service → Users, tickets, SLA, history: creates and updates
backend/app/services/ticket_service.py - SLA monitor and escalation → Users, tickets, SLA, history: reads and updates
backend/app/services/sla_engine.py - Analytics endpoints → Users, tickets, SLA, history: aggregates ticket data
backend/app/routers/analytics.py - User endpoints → Users, tickets, SLA, history: queries users
backend/app/routers/users.py - Authentication endpoints → Users, tickets, SLA, history: queries users
backend/app/routers/auth.py - Ticket endpoints → Users, tickets, SLA, history: queries ticket data
backend/app/routers/tickets.py - Database sessions → Relational database: connects
backend/app/database.py - Users, tickets, SLA, history → Database sessions: uses ORM base
backend/app/models.py