How vdartacademy3/vdart-comp works
VCamp combines a Windows desktop companion, a web HR/employee console, and a FastAPI workforce backend. Employees interact through the companion or portal; attendance events and wellbeing responses reach API workflows, while HR manages attendance/overtime, employees, questions, reminders, and sentiment analytics. The desktop also renders a persistent 3D avatar and provides chat/voice and autonomous movement. The graph preserves documented capability areas, but many route-to-service and dashboard-to-endpoint links are not visible in the sampled excerpts, so those links are omitted rather than inferred.
Main entry points: App.tsx Dashboard shell · main.py FastAPI application · attendance.py Attendance routes · questions.py Question routes
Components 29
Desktop Companion
- Electron runtime
desktop/electron/main.cjs - Backend supervisor
desktop/electron/backendManager.cjs - Desktop app
desktop/src/App.tsx - Companion overlay
desktop/src/components/CompanionOverlay.tsx - Companion state
desktop/src/stores/companionStore.ts - Movement and physics
desktop/src/services/companionMovementController.ts - Question and chat engine
desktop/src/services/questionEngineService.ts
Web Console
- Dashboard shell
dashboard/src/App.tsx - Employee management
dashboard/src/components/EmployeeManagementModule.tsx - HR attendance
dashboard/src/components/HRAttendanceModule.tsx - Question management
dashboard/src/components/QuestionManagementModule.tsx - Sentiment analytics
dashboard/src/components/SentimentAnalyticsModule.tsx - Reminder management
dashboard/src/components/RemindersManagementModule.tsx
Backend API
- FastAPI application
backend/app/main.py - Authentication routes
backend/app/routers/auth.py - Attendance routes
backend/app/routers/attendance.py - Question routes
backend/app/routers/questions.py - Sentiment routes
backend/app/routers/sentiment.py - SQL database
backend/app/database.py
Workforce Services
- Attendance sessions
backend/app/services/attendance_session_service.py - Attendance calculations
backend/app/services/attendance_calculation_service.py - HR attendance service
backend/app/services/hr_attendance_service.py - Overtime workflows
backend/app/services/overtime_service.py - Team schedules
backend/app/services/team_schedule_service.py
Wellbeing Services
- Sentiment analysis
desktop/src/services/sentiment/inference/sentimentEngine.ts - Question service
backend/app/services/question_service.py - Sentiment service
backend/app/services/sentiment_service.py
Other components
- Employee
- HR staff
Connections 33
- Electron runtime → Backend supervisor: starts
desktop/electron/main.cjs - Backend supervisor → FastAPI application: launches backend
- Desktop app → Companion overlay: renders
desktop/src/App.tsx - Desktop app → Companion state: hydrates
desktop/src/App.tsx - Movement and physics → Companion state: updates
desktop/src/services/companionMovementController.ts - Companion overlay → Movement and physics: displays companion
- Employee → Companion overlay: uses
- Question and chat engine → Sentiment analysis: analyzes locally
desktop/src/services/questionEngineService.ts - Question and chat engine → Question routes: submits responses
desktop/src/services/questionEngineService.ts - Employee → Dashboard shell: uses
README.md - HR staff → Dashboard shell: uses
README.md - Dashboard shell → Employee management: shows module
dashboard/src/App.tsx - Dashboard shell → HR attendance: shows module
dashboard/src/App.tsx - Dashboard shell → Question management: shows module
dashboard/src/App.tsx - Dashboard shell → Sentiment analytics: shows module
dashboard/src/App.tsx - Dashboard shell → Reminder management: shows module
dashboard/src/App.tsx - FastAPI application → Authentication routes: registers routes
backend/app/main.py - FastAPI application → Attendance routes: registers routes
backend/app/main.py - FastAPI application → Question routes: registers routes
backend/app/main.py - FastAPI application → Sentiment routes: registers routes
backend/app/main.py - FastAPI application → SQL database: initializes
backend/app/main.py - Authentication routes → SQL database: reads and writes
backend/app/routers/auth.py - Attendance routes → Attendance sessions: records events
- Attendance routes → HR attendance service: serves HR workflows
- HR attendance service → Attendance calculations: uses calculations
backend/app/services/hr_attendance_service.py - HR attendance service → Team schedules: uses schedules
backend/app/services/hr_attendance_service.py - Overtime workflows → Team schedules: uses schedules
backend/app/services/overtime_service.py - HR attendance → Attendance routes: manages attendance
- HR attendance → Overtime workflows: reviews overtime
- Question routes → Question service: handles questions
- Sentiment routes → Sentiment service: handles analysis
- Sentiment analytics → Sentiment routes: views analytics
- Question management → Question routes: manages questions