How osizk/toktickit works
TokTickIT is a web-based IT service desk. Requesters authenticate, create and manage tickets and attachments; IT staff handle a searchable ticket queue and ticket operations; administrators manage users. The React client presents these workflows through a shared API client, while Express routes enforce session and role checks and delegate to domain services backed by Prisma/PostgreSQL. The graph follows the documented capabilities and available source references; several service internals and route-to-service details were not sampled, so those links are omitted rather than inferred.
Main entry points: app.ts HTTP routes · prisma.ts Prisma client · api.ts API client · App.tsx App and routing
Components 25
Web client
- App and routing
client/src/App.tsx - Create ticket
client/src/CreateTicket.tsx - My tickets
client/src/MyTickets.tsx - Requester ticket detail
client/src/TicketDetail.tsx - Staff queue
client/src/StaffTicketQueue.tsx - Staff ticket detail
client/src/StaffTicketDetail.tsx - User management
client/src/AdminUserManagement.tsx - API client
client/src/api.ts
API and identity
- HTTP routes
server/src/app.ts - Authentication and sessions
server/src/auth-service.ts - Identity validation
server/src/auth-validation.ts
Service desk domain
- Ticket creation
server/src/ticket-service.ts - Requester ticket list
server/src/ticket-list-service.ts - Ticket detail and attachments
server/src/ticket-detail-service.ts - Staff queue and operations
server/src/staff-queue-service.ts - Ticket comments
server/src/comment-service.ts - Internal notes
server/src/note-service.ts - User administration
server/src/user-management-service.ts - Attachment validation
server/src/attachment-validation.ts - Ticket validation
server/src/ticket-validation.ts
Persistence
- Prisma client
server/src/prisma.ts - PostgreSQL data
server/prisma/schema.prisma
Other components
- Requester
- IT staff
- Administrator
Connections 34
- Requester → App and routing: uses
README.md - IT staff → App and routing: uses
README.md - Administrator → App and routing: uses
README.md - App and routing → API client: calls
client/src/App.tsx - App and routing → Requester ticket detail: renders
client/src/App.tsx - App and routing → Staff queue: renders
client/src/App.tsx - Create ticket → API client: requests
client/src/CreateTicket.tsx - My tickets → API client: requests
client/src/MyTickets.tsx - Requester ticket detail → API client: requests
client/src/TicketDetail.tsx - Staff queue → API client: requests
client/src/StaffTicketQueue.tsx - Staff ticket detail → API client: requests
client/src/StaffTicketDetail.tsx - User management → API client: requests
client/src/AdminUserManagement.tsx - API client → HTTP routes: HTTP requests
- HTTP routes → Authentication and sessions: authenticates
server/src/app.ts - HTTP routes → Ticket creation: routes to
server/src/app.ts - HTTP routes → Requester ticket list: routes to
server/src/app.ts - HTTP routes → Ticket detail and attachments: routes to
server/src/app.ts - HTTP routes → Staff queue and operations: routes to
server/src/app.ts - HTTP routes → Ticket comments: routes to
server/src/app.ts - HTTP routes → Internal notes: routes to
server/src/app.ts - HTTP routes → User administration: routes to
server/src/app.ts - Authentication and sessions → Prisma client: reads and writes
server/src/auth-service.ts - User administration → Identity validation: validates with
server/src/user-management-service.ts - User administration → Authentication and sessions: uses
server/src/user-management-service.ts - Ticket creation → Ticket validation: validates with
server/src/ticket-service.ts - Ticket creation → Attachment validation: uses
server/src/ticket-service.ts - Ticket creation → Prisma client: writes through
server/src/ticket-service.ts - Requester ticket list → Prisma client: queries through
server/src/ticket-list-service.ts - Ticket detail and attachments → Prisma client: queries through
server/src/ticket-detail-service.ts - Staff queue and operations → Prisma client: queries through
server/src/staff-queue-service.ts - User administration → Prisma client: reads and writes
server/src/user-management-service.ts - Ticket comments → Prisma client: reads and writes
server/src/comment-service.ts - Internal notes → Prisma client: reads and writes
server/src/note-service.ts - Prisma client → PostgreSQL data: accesses