How lavanya691/healthcare-appointment works
Health4 is an Angular healthcare appointment application with login and role-based registration, patient scheduling and appointment viewing, doctor availability and appointment viewing, and receptionist appointment management. The visible workflow runs from routed screens through HttpService to an API; AuthService stores session details in browser local storage. The supplied tree and excerpts contain no server implementation or README capability description, so the API is modeled as external and backend processing is not expanded. Edges are limited to relationships shown in excerpts or the source index.
Main entry points: app-routing.module.ts Route table · http.service.ts HTTP service · login.component.ts Login · app.module.ts Angular app module
Components 18
App shell and routing
- Angular app module
health4-main/client/src/app/app.module.ts - Route table
health4-main/client/src/app/app-routing.module.ts - App shell
health4-main/client/src/app/app.component.ts - Dashboard
health4-main/client/src/app/dashbaord/dashbaord.component.ts - UI screen
health4-main/client/src/app/ui/ui.component.ts - Angular bootstrap
health4-main/client/src/main.ts
Identity and registration
- Login
health4-main/client/src/app/login/login.component.ts - Role registration
health4-main/client/src/app/registration/registration.component.ts - Session and role state
health4-main/client/src/services/auth.service.ts
Appointment workflows
- Patient scheduling
health4-main/client/src/app/schedule-appointment/schedule-appointment.component.ts - Patient appointments
health4-main/client/src/app/patient-appointment/patient-appointment.component.ts - Doctor appointments
health4-main/client/src/app/doctor-appointment/doctor-appointment.component.ts - Doctor availability
health4-main/client/src/app/doctor-availability/doctor-availability.component.ts - Receptionist appointments
health4-main/client/src/app/receptionist-appointments/receptionist-appointments.component.ts
HTTP and configuration
- HTTP service
health4-main/client/src/services/http.service.ts - API configuration
health4-main/client/src/environments/environment.development.ts
Other components
- Healthcare user
- Healthcare API
Connections 25
- Healthcare user → Route table: uses screens
- Route table → Login: routes to
health4-main/client/src/app/app-routing.module.ts - Route table → Role registration: routes to
health4-main/client/src/app/app-routing.module.ts - Route table → Dashboard: routes to
health4-main/client/src/app/app-routing.module.ts - Route table → Patient scheduling: routes to
health4-main/client/src/app/app-routing.module.ts - Route table → Patient appointments: routes to
health4-main/client/src/app/app-routing.module.ts - Route table → Doctor appointments: routes to
health4-main/client/src/app/app-routing.module.ts - Route table → Doctor availability: routes to
health4-main/client/src/app/app-routing.module.ts - Route table → Receptionist appointments: routes to
health4-main/client/src/app/app-routing.module.ts - Route table → UI screen: routes to
health4-main/client/src/app/app-routing.module.ts - Angular app module → Route table: imports
health4-main/client/src/app/app.module.ts - Angular app module → App shell: bootstraps
health4-main/client/src/app/app.module.ts - Angular bootstrap → Angular app module: loads
health4-main/client/src/main.ts - App shell → Session and role state: checks session
health4-main/client/src/app/app.component.ts - Login → HTTP service: submits credentials
health4-main/client/src/app/login/login.component.ts - Login → Session and role state: saves session
health4-main/client/src/app/login/login.component.ts - Role registration → HTTP service: registers role
health4-main/client/src/app/registration/registration.component.ts - Patient scheduling → HTTP service: schedules visit
health4-main/client/src/app/schedule-appointment/schedule-appointment.component.ts - Patient appointments → HTTP service: fetches visits
health4-main/client/src/app/patient-appointment/patient-appointment.component.ts - Doctor appointments → HTTP service: fetches visits
health4-main/client/src/app/doctor-appointment/doctor-appointment.component.ts - Doctor availability → HTTP service: updates availability
health4-main/client/src/app/doctor-availability/doctor-availability.component.ts - Receptionist appointments → HTTP service: reschedules visits
health4-main/client/src/app/receptionist-appointments/receptionist-appointments.component.ts - HTTP service → Session and role state: reads token
health4-main/client/src/services/http.service.ts - HTTP service → API configuration: reads API config
health4-main/client/src/services/http.service.ts - HTTP service → Healthcare API: sends requests
health4-main/client/src/services/http.service.ts