How k-balaganesh/angular_springboot_project works
Samplepage is a student–faculty portal. Users enter through the Angular application, authenticate, and access role-protected student or faculty workflows: students register, browse assignments, and submit queries; faculty upload assignments, review registrations, and respond to queries. The frontend services call a separately hosted API, but backend implementation files are not present in the supplied tree. Relationships below are limited to the excerpts and SOURCE INDEX references provided.
Main entry points: app.routes.ts Role-based routes · auth.service.ts Authentication service · student.service.ts Student service · faculty.service.ts Faculty service
Components 20
Application and access
- Angular bootstrap
samplepage-frontend/src/main.ts - Application shell
samplepage-frontend/src/app/app.component.ts - Role-based routes
samplepage-frontend/src/app/app.routes.ts - Auth guard
samplepage-frontend/src/app/shared/guards/auth.guard.ts - Home page
samplepage-frontend/src/app/home/home.component.ts
Authentication
- Login and signup
samplepage-frontend/src/app/auth/login/login.component.ts - Signup page
samplepage-frontend/src/app/auth/signup/signup.component.ts - Authentication service
samplepage-frontend/src/app/shared/services/auth.service.ts - Auth data models
samplepage-frontend/src/app/shared/models
Student workflows
- Student dashboard
samplepage-frontend/src/app/student/dashboard/student-dashboard.component.ts - Student registration
samplepage-frontend/src/app/student/registration/registration.component.ts - Samplepage data list
samplepage-frontend/src/app/student/datalist/datalist.component.ts - Student service
samplepage-frontend/src/app/shared/services/student.service.ts - Samplepage service
samplepage-frontend/src/app/shared/services/samplepage.service.ts - Student domain models
samplepage-frontend/src/app/shared/models
Faculty workflows
- Faculty dashboard
samplepage-frontend/src/app/faculty/dashboard/faculty-dashboard.component.ts - Faculty query replies
samplepage-frontend/src/app/faculty/query/faculty-query.component.ts - Faculty service
samplepage-frontend/src/app/shared/services/faculty.service.ts
Other components
- Portal user
- Portal backend API
Connections 30
- Portal user → Angular bootstrap: opens portal
- Angular bootstrap → Application shell: bootstraps
samplepage-frontend/src/main.ts - Application shell → Role-based routes: hosts navigation
- Role-based routes → Home page: routes to
samplepage-frontend/src/app/app.routes.ts - Role-based routes → Login and signup: routes to
samplepage-frontend/src/app/app.routes.ts - Role-based routes → Signup page: routes to
samplepage-frontend/src/app/app.routes.ts - Role-based routes → Student dashboard: routes to
samplepage-frontend/src/app/app.routes.ts - Role-based routes → Student registration: routes to
samplepage-frontend/src/app/app.routes.ts - Role-based routes → Samplepage data list: routes to
samplepage-frontend/src/app/app.routes.ts - Role-based routes → Faculty dashboard: routes to
samplepage-frontend/src/app/app.routes.ts - Role-based routes → Faculty query replies: lazy routes to
samplepage-frontend/src/app/app.routes.ts - Role-based routes → Auth guard: protects routes
samplepage-frontend/src/app/app.routes.ts - Auth guard → Authentication service: checks identity
samplepage-frontend/src/app/shared/guards/auth.guard.ts - Application shell → Authentication service: observes session
samplepage-frontend/src/app/app.component.ts - Login and signup → Authentication service: signs in
samplepage-frontend/src/app/auth/login/login.component.ts - Signup page → Authentication service: registers account
samplepage-frontend/src/app/auth/signup/signup.component.ts - Authentication service → Auth data models: uses auth types
samplepage-frontend/src/app/shared/services/auth.service.ts - Authentication service → Portal backend API: sends auth requests
samplepage-frontend/src/app/shared/services/auth.service.ts - Student dashboard → Student service: loads student data
samplepage-frontend/src/app/student/dashboard/student-dashboard.component.ts - Student registration → Student service: submits registration
samplepage-frontend/src/app/student/registration/registration.component.ts - Samplepage data list → Samplepage service: loads samplepages
samplepage-frontend/src/app/student/datalist/datalist.component.ts - Student service → Student domain models: uses domain types
samplepage-frontend/src/app/shared/services/student.service.ts - Samplepage service → Student domain models: uses samplepage type
samplepage-frontend/src/app/shared/services/samplepage.service.ts - Student service → Portal backend API: sends student requests
samplepage-frontend/src/app/shared/services/student.service.ts - Samplepage service → Portal backend API: sends samplepage requests
- Faculty dashboard → Faculty service: manages faculty data
samplepage-frontend/src/app/faculty/dashboard/faculty-dashboard.component.ts - Faculty query replies → Faculty service: loads and replies
samplepage-frontend/src/app/faculty/query/faculty-query.component.ts - Faculty dashboard → Authentication service: gets current user
samplepage-frontend/src/app/faculty/dashboard/faculty-dashboard.component.ts - Faculty service → Student domain models: uses domain types
samplepage-frontend/src/app/shared/services/faculty.service.ts - Faculty service → Portal backend API: sends faculty requests
samplepage-frontend/src/app/shared/services/faculty.service.ts