How vignesh-018/adoe2e works
My Health Clinic is a clinic-management web application: staff sign in, use browser screens to manage clinic tenants, users, doctors, and patients, and view dashboard/report information. The AngularJS controllers invoke feature services; the API exposes corresponding domain endpoints, with sampled user and tenant endpoints delegating to repositories. Persistence details and most feature-specific API wiring are inferred only from names in the tree, so those uncertain links are omitted. The tree also indicates appointment, medicine, tip, and reporting capabilities.
Main entry points: Extensions.cs Clinic API · TenantsController.cs Tenant endpoints · UsersController.cs User endpoints · ApplicationUsersRepository.cs User repository
Components 25
Web experience
- Web application
src/MyHealth.Web/Startup.cs - Clinic management
src/MyHealth.Web/content/app/components/clinics/controllers/clinicsController.js - Doctor management
src/MyHealth.Web/content/app/components/doctors/controllers/doctorDetailController.js - Patient management
src/MyHealth.Web/content/app/components/patients/controllers/patientsController.js - User management
src/MyHealth.Web/content/app/components/users/controllers/usersController.js - Clinic dashboard
src/MyHealth.Web/content/app/components/dashboard/controllers/dashboardController.js - Clinic service
src/MyHealth.Web/content/app/components/clinics/services/clinicsService.js - Doctor service
src/MyHealth.Web/content/app/components/doctors/services/doctorsService.js - Patient service
src/MyHealth.Web/content/app/components/patients/services/patientsService.js - User service
src/MyHealth.Web/content/app/components/users/services/usersService.js - Dashboard service
src/MyHealth.Web/content/app/components/dashboard/services/dashboardService.js
API endpoints
- Clinic API
src/MyHealth.API/AppExtensions/Extensions.cs - Tenant endpoints
src/MyHealth.API/Controllers/TenantsController.cs - User endpoints
src/MyHealth.API/Controllers/UsersController.cs - Doctor endpoints
src/MyHealth.API/Controllers/DoctorsController.cs - Patient endpoints
src/MyHealth.API/Controllers/PatientsController.cs - Appointment endpoints
src/MyHealth.API/Controllers/ClinicAppointmentsController.cs - Medicine endpoints
src/MyHealth.API/Controllers/MedicinesController.cs - Reports and tips
src/MyHealth.API/Controllers/ReportsController.cs
Domain and data
- Domain repositories
src/MyHealth.Data/Repositories - Clinic data
src/MyHealth.Data/MyHealthContext.cs - Clinic domain
src/MyHealth.Model
Identity
- Sign-in
src/MyHealth.Web/Controllers/AccountController.cs - User repository
src/MyHealth.Data/Repositories/ApplicationUsersRepository.cs
Other components
- Clinic staff
Connections 21
- Clinic staff → Web application: uses
- Web application → Sign-in: routes sign-in
- Clinic management → Clinic service: requests clinic data
- Doctor management → Doctor service: manages doctors
- Patient management → Patient service: manages patients
- User management → User service: manages users
- Clinic dashboard → Dashboard service: requests summaries
- Clinic API → Tenant endpoints: dispatches
- Clinic API → User endpoints: dispatches
- Clinic API → Doctor endpoints: dispatches
- Clinic API → Patient endpoints: dispatches
- Clinic API → Appointment endpoints: dispatches
- Clinic API → Medicine endpoints: dispatches
- Clinic API → Reports and tips: dispatches
- Tenant endpoints → Domain repositories: delegates tenant queries
- User endpoints → User repository: delegates user operations
- User repository → Clinic data: queries user data
- Domain repositories → Clinic data: accesses clinic data
- Tenant endpoints → Clinic domain: uses tenant model
- User endpoints → Clinic domain: uses user model
- Sign-in → User repository: authenticates