How hung2004-web/sep490_g66 works
The repository is titled SEP490_G66; the sampled implementation is an OZE clinic frontend shell and a backend centered on account authentication and profile retrieval. The principal backend workflow is registration/login, token issuance and refresh, email confirmation, and logout; authenticated profile lookup is a separate path. The README provides no capability details, and the frontend API wiring and several implementations were not sampled, so uncertain connections are omitted.
Main entry points: AuthService.cs Auth workflows · AuthController.cs Auth endpoints · UserRefreshTokenRepository.cs Refresh token repository · Program.cs API host
Components 15
Frontend
- App routes
oze-clinic-fe/src/routes/AppRoutes.jsx - Home page
oze-clinic-fe/src/pages/common/HomePage.jsx
API and application
- API host
oze-clinic-be/OZE.ProjectBase/Program.cs - Auth endpoints
oze-clinic-be/OZE.ProjectBase/Controllers/AuthController.cs - Profile endpoint
oze-clinic-be/OZE.ProjectBase/Controllers/MeController.cs - Auth workflows
oze-clinic-be/OZE.Application/Services/AuthService.cs - User profiles
oze-clinic-be/OZE.Application/Services/UserService.cs - JWT generator
oze-clinic-be/OZE.Application/Services/JwtTokenGenerator.cs - Email sender
oze-clinic-be/OZE.Application/Services/EmailSender.cs
Identity and persistence
- ASP.NET Identity
- Persistence setup
oze-clinic-be/OZE.Persistence/PersistenceServiceRegistration.cs - Refresh token repository
oze-clinic-be/OZE.Persistence/Repositories/UserRefreshTokenRepository.cs - Identity context
oze-clinic-be/OZE.Persistence/DbContexts/AppIdentityDbContext.cs - Application database
Other components
- User
Connections 16
- User → App routes: opens
- App routes → Home page: renders
- User → Auth endpoints: requests auth
- API host → Auth endpoints: maps controllers
- API host → Profile endpoint: maps controllers
- Auth endpoints → Auth workflows: calls
- Profile endpoint → User profiles: calls
- Auth workflows → ASP.NET Identity: manages accounts
- Auth workflows → JWT generator: generates tokens
- Auth workflows → Refresh token repository: stores tokens
- Auth workflows → Email sender: sends confirmation
- User profiles → ASP.NET Identity: reads accounts
- Persistence setup → ASP.NET Identity: configures stores
- Persistence setup → Refresh token repository: registers
- Refresh token repository → Identity context: queries and saves
- Identity context → Application database: reads and writes