How mavscriptblu/teamcaret works
CCOS is a club merchandise ordering and event-ticketing system, with officer-facing management for products, events, and venues. The clearest implemented workflow is product browsing or officer product creation: Razor Pages call a typed API client, which sends requests to the Web API; the controller delegates product reads to a repository backed by EF Core. The tree and README describe broader event and ticket capabilities, but sampled source does not establish their complete request flows. Dashed links mark those unverified connections.
Main entry points: AppDbContext.cs EF Core context · Event.cs Event · TicketBookingRepository.cs Ticket reservations · TicketRegistration.cs Ticket registrations
Components 26
Web experience
- Product pages
frontend/CCOS.Web/Pages/Products/Index.cshtml.cs - Product admin
frontend/CCOS.Web/Pages/Officer/Products/Index.cshtml.cs - Product creation
frontend/CCOS.Web/Pages/Officer/Products/Create.cshtml.cs - Products API client
frontend/CCOS.Web/Services/ProductsApiClient.cs
Product API
- Product DTOs
shared/CCOS.Shared/ProductDto.cs - Create request
shared/CCOS.Shared/CreateProductRequest.cs - Products controller
backend/CCOS.Api/Controllers/ProductsController.cs - Product repository
backend/CCOS.Repositories/ProductRepository.cs
Events and tickets
- Event pages
frontend/CCOS.Web/Pages/Events/Details.cshtml.cs - Event data
frontend/CCOS.Web/Pages/Events/EventData.cs - Event management
frontend/CCOS.Web/Pages/Officer/Events/EventFormPageModel.cs - Venue management
frontend/CCOS.Web/Pages/Officer/Venues/Create.cshtml.cs - Ticket reservations
backend/CCOS.Repositories/TicketBookingRepository.cs - Sold-out handling
backend/CCOS.Repositories/SoldOutException.cs
Persistence model
- EF Core context
backend/CCOS.Data/AppDbContext.cs - Products and ticket types
backend/CCOS.Data/Entities/Product.cs - Orders and lines
backend/CCOS.Data/Entities/Order.cs - Order line
backend/CCOS.Data/Entities/OrderLine.cs - Event
backend/CCOS.Data/Entities/Event.cs - Ticket registrations
backend/CCOS.Data/Entities/TicketRegistration.cs - Registration status
backend/CCOS.Data/Entities/RegistrationStatus.cs - Venues
backend/CCOS.Data/Entities/Venue.cs - Venue address
backend/CCOS.Data/Entities/VenueAddress.cs - Ticket type
backend/CCOS.Data/Entities/TicketType.cs
Other components
- Members and guests
- Club officers
Connections 37
- Members and guests → Product pages: browse
README.md - Club officers → Product admin: manage
README.md - Club officers → Product creation: create
README.md - Product pages → Products API client: requests
frontend/CCOS.Web/Pages/Products/Index.cshtml.cs - Product admin → Products API client: lists
frontend/CCOS.Web/Pages/Officer/Products/Index.cshtml.cs - Product creation → Products API client: submits
frontend/CCOS.Web/Pages/Officer/Products/Create.cshtml.cs - Product creation → Create request: uses
frontend/CCOS.Web/Pages/Officer/Products/Create.cshtml.cs - Products API client → Products controller: HTTP requests
frontend/CCOS.Web/Services/ProductsApiClient.cs - Products controller → Product repository: delegates
backend/CCOS.Api/Controllers/ProductsController.cs - Products controller → Product DTOs: returns
backend/CCOS.Api/Controllers/ProductsController.cs - Product repository → EF Core context: queries
backend/CCOS.Repositories/ProductRepository.cs - EF Core context → Products and ticket types: maps
backend/CCOS.Data/AppDbContext.cs - EF Core context → Orders and lines: maps
backend/CCOS.Data/AppDbContext.cs - EF Core context → Order line: maps
backend/CCOS.Data/AppDbContext.cs - EF Core context → Event: maps
backend/CCOS.Data/AppDbContext.cs - EF Core context → Ticket registrations: maps
backend/CCOS.Data/AppDbContext.cs - EF Core context → Venues: maps
backend/CCOS.Data/AppDbContext.cs - EF Core context → Venue address: maps
backend/CCOS.Data/AppDbContext.cs - EF Core context → Ticket type: maps
backend/CCOS.Data/AppDbContext.cs - Event → Venues: references
backend/CCOS.Data/Entities/Event.cs - Event → Ticket type: owns ticket types
backend/CCOS.Data/Entities/Event.cs - Event → Ticket registrations: owns registrations
backend/CCOS.Data/Entities/Event.cs - Venues → Venue address: has address
backend/CCOS.Data/Entities/Venue.cs - Order line → Orders and lines: belongs to
backend/CCOS.Data/Entities/OrderLine.cs - Ticket registrations → Order line: references
backend/CCOS.Data/Entities/TicketRegistration.cs - Ticket registrations → Registration status: stores status
backend/CCOS.Data/Entities/TicketRegistration.cs - Ticket reservations → EF Core context: updates
backend/CCOS.Repositories/TicketBookingRepository.cs - Ticket reservations → Sold-out handling: throws
backend/CCOS.Repositories/TicketBookingRepository.cs - Ticket reservations → Event: reserves capacity
backend/CCOS.Repositories/TicketBookingRepository.cs - Event pages → Event: reads event
frontend/CCOS.Web/Pages/Events/Details.cshtml.cs - Event management → Event: manages
frontend/CCOS.Web/Pages/Officer/Events/EventFormPageModel.cs - Event data → Event: uses event
frontend/CCOS.Web/Pages/Events/EventData.cs - Club officers → Event management: manage events
README.md - Club officers → Venue management: manage venues
README.md - Members and guests → Event pages: view events
README.md - Members and guests → Ticket reservations: book tickets
- Venue management → Venues: persists venue