How bikalpcdr/visionflow works
VisionFlow is a vision-therapy management system with an Angular dashboard and a Spring REST backend. Users authenticate, then manage patient and doctor records, assessments, therapy plans and exercises, sessions and exercise logs, and appointments; notifications and reports support that care workflow. The frontend route map and the appointment and therapy-plan controller-to-service calls are directly evidenced. Other backend module connections and database interactions are shown only as documented capabilities, so those links are dashed and unverified.
Main entry points: dashboard.component.ts Care dashboard · app.routes.ts App routes · AuthController.java Auth API · AppointmentController.java Appointments
Components 17
Web application
- App routes
visionflow-frontend/src/app/app.routes.ts - Auth client
visionflow-frontend/src/app/service/auth.service.ts - Care dashboard
visionflow-frontend/src/app/dashboard/dashboard.component.ts
Identity and access
- Auth API
src/main/java/com/visionflow/core/auth/controller/AuthController.java - Auth service
src/main/java/com/visionflow/core/auth/service/impl/AuthServiceImpl.java - JWT security
src/main/java/com/visionflow/config/security/JwtAuthenticationFilter.java
Clinical care
- Patient records
src/main/java/com/visionflow/core/patient/service/impl/PatientServiceImpl.java - Doctor records
src/main/java/com/visionflow/core/doctor/service/impl/DoctorServiceImpl.java - Vision assessments
src/main/java/com/visionflow/core/assessment/service/impl/AssessmentServiceImpl.java - Therapy plans
src/main/java/com/visionflow/core/therapyplan/controller/TherapyPlanController.java - Therapy sessions
src/main/java/com/visionflow/core/session/service/impl/SessionServiceImpl.java
Clinic operations
- Appointments
src/main/java/com/visionflow/core/appointment/controller/AppointmentController.java - Notifications
src/main/java/com/visionflow/core/notification/service/impl/NotificationServiceImpl.java - Reports
src/main/java/com/visionflow/core/report/service/impl/ReportServiceImpl.java
Backend platform
- PostgreSQL
- API responses
src/main/java/com/visionflow/api/ResponseWrapperAdvice.java
Other components
- Clinic user
Connections 20
- Clinic user → App routes: uses
visionflow-frontend/src/app/app.routes.ts - App routes → Care dashboard: routes to
visionflow-frontend/src/app/app.routes.ts - App routes → Auth client: routes to
visionflow-frontend/src/app/app.routes.ts - Auth client → Auth API: authenticates
- Clinic user → Auth API: authenticates
README.md - Auth API → Auth service: delegates
- JWT security → Auth service: validates tokens
- Care dashboard → Patient records: manages
- Care dashboard → Doctor records: manages
- Care dashboard → Vision assessments: records
- Care dashboard → Therapy plans: manages
- Care dashboard → Therapy sessions: tracks
- Care dashboard → Appointments: schedules
- Care dashboard → Notifications: views
- Care dashboard → Reports: views
- Therapy plans → PostgreSQL: persists plans
- Appointments → PostgreSQL: persists appointments
- Notifications → PostgreSQL: persists notices
- Reports → PostgreSQL: reads data
- API responses → Appointments: wraps responses