How shantcodes/aaug works
AAUG is a .NET 8 web application for an organization. Its principal workflow is HTTP requests to controllers, which delegate account, event, media, or other operations to services; services use repositories and a unit of work to access application data and return mapped results. The tree also shows news, slideshows, notifications, and organizational features such as camps, forms, suggestions, and tickets. The README is brief, and several subsystems were not sampled, so their internal connections are not asserted.
Main entry points: Program.cs ASP.NET host · IAaugUnitOfWork.cs Unit of work · AaugContext.cs EF context · AuthService.cs Authentication service
Components 27
API and identity
- ASP.NET host
AAUG/Program.cs - Authentication API
AAUG/Controllers/Authentication/AuthenticationController.cs - User API
AAUG/Controllers/General/AaugUserController.cs - Event API
AAUG/Controllers/General/EventController.cs - Media API
AAUG/Controllers/Media/MediaFileController.cs - Notification API
AAUG/Controllers/Notification/NotificationController.cs - News and slideshows
AAUG/Controllers/General
Application services
- Authentication service
Service.Implementation/Authentication/AuthService.cs - Token service
Service.Implementation/Authentication/TokenService.cs - User services
Service.Implementation/General/AaugUserService.cs - Event service
Service.Implementation/General/EventService.cs - Media service
Service.Implementation/Media/MediaFIleService.cs - News service
Service.Implementation/General/NewsService.cs - Slideshow service
Service.Implementation/General/SlideShowService.cs - Notification service
Service.Implementation/Notification/NotificationService.cs
Data access
- Unit of work
DataAccess.Implementations/UnitOfWork/IAaugUnitOfWork.cs - User repository
DataAccess.Implementations/General/AaugUserRepository.cs - Event repository
DataAccess.Implementations/General/EventRepository.cs - Media repositories
DataAccess.Implementations/Media - News and slide repositories
DataAccess.Implementations/General - EF context
AAUG.Context/Context/AaugContext.cs
Domain and mapping
- Camps, forms, tickets
AAUG.DomainModels/Models/Tables/General - Suggestions and votes
AAUG.DomainModels/Models/Tables/General - Organization entities
AAUG.DomainModels/Models/Tables/General - DTO mapping
AAUG.DomainModels/DataMapper/AutoMapper.cs
Other components
- API client
- Application database
Connections 34
- API client → ASP.NET host: sends requests
AAUG/Program.cs - ASP.NET host → Authentication API: routes requests
AAUG/Program.cs - ASP.NET host → User API: routes requests
AAUG/Program.cs - ASP.NET host → Event API: routes requests
AAUG/Program.cs - ASP.NET host → Media API: routes requests
AAUG/Program.cs - ASP.NET host → Notification API: routes requests
AAUG/Program.cs - Authentication API → Authentication service: delegates to
AAUG/Controllers/Authentication/AuthenticationController.cs - User API → User services: delegates to
AAUG/Controllers/General/AaugUserController.cs - Event API → Event service: delegates to
AAUG/Controllers/General/EventController.cs - Media API → Media service: delegates to
AAUG/Controllers/Media/MediaFileController.cs - Notification API → Notification service: delegates to
AAUG/Controllers/Notification/NotificationController.cs - News and slideshows → News service: delegates to
- News and slideshows → Slideshow service: delegates to
- Authentication service → User repository: looks up users
Service.Implementation/Authentication/AuthService.cs - Authentication service → User services: creates user profile
Service.Implementation/Authentication/AuthService.cs - Authentication service → Token service: uses tokens
Service.Implementation/Authentication/AuthService.cs - User services → Unit of work: uses repositories
Service.Implementation/General/AaugUserService.cs - User services → Media service: stores user media
Service.Implementation/General/AaugUserService.cs - Event service → Unit of work: uses repositories
Service.Implementation/General/EventService.cs - Event service → Media service: stores event media
Service.Implementation/General/EventService.cs - Media service → Media repositories: reads and writes files
Service.Implementation/Media/MediaFIleService.cs - News service → News and slide repositories: uses repositories
- Slideshow service → News and slide repositories: uses repositories
- Notification service → Unit of work: uses repositories
Service.Implementation/Notification/NotificationService.cs - Unit of work → User repository: exposes repository
DataAccess.Implementations/UnitOfWork/IAaugUnitOfWork.cs - Unit of work → Event repository: exposes repository
DataAccess.Implementations/UnitOfWork/IAaugUnitOfWork.cs - Unit of work → Media repositories: exposes repositories
DataAccess.Implementations/UnitOfWork/IAaugUnitOfWork.cs - User repository → EF context: queries entities
DataAccess.Implementations/General/AaugUserRepository.cs - Event repository → EF context: queries entities
DataAccess.Implementations/General/EventRepository.cs - Media repositories → EF context: queries entities
DataAccess.Implementations/Media/MediaFileRepository.cs - EF context → Application database: persists entities
- DTO mapping → Organization entities: maps entities
AAUG.DomainModels/DataMapper/AutoMapper.cs - EF context → Camps, forms, tickets: defines tables
AAUG.Context/Context/AaugContext.cs - EF context → Suggestions and votes: defines tables
AAUG.Context/Context/AaugContext.cs