How emanuelmath/joygames works
JoyGames is an ASP.NET Core MVC game-catalog and management platform. The documented user journey is browsing and filtering games, viewing game details and media, and submitting contact or account requests; management, authentication, and notifications are supporting capabilities. The sampled code confirms domain validation, dependency registration, SMTP delivery, and only game add/update repository stubs. Several README features have no corresponding implementation in the supplied tree or excerpts, so those are shown as documented subsystems without invented call paths.
Main entry points: DependencyInjection.cs Service registration · GameRepository.cs Game repository · EmailService.cs SMTP email service · JoyGames.Web MVC application
Components 22
Web experience
- MVC application
src/JoyGames.Web - Home controller
src/JoyGames.Web/Controllers/HomeController.cs - Catalog views
src/JoyGames.Web/Views - View models
src/JoyGames.Web/Models/ViewModels - Browser assets
src/JoyGames.Web/wwwroot - Web startup
src/JoyGames.Web/Program.cs
Catalog domain
- Game domain
src/JoyGames.Core/Entities/Game.cs - Other domain models
src/JoyGames.Core/Entities - Repository contracts
src/JoyGames.Core/Interfaces/Repositories
Infrastructure
- Game repository
src/JoyGames.Infrastructure/Data/Repositories/GameRepository.cs - SQL database
database - Connection factory
src/JoyGames.Infrastructure/Data/DbConnectionFactory.cs - Service registration
src/JoyGames.Infrastructure/DependencyInjection.cs - Image storage
src/JoyGames.Infrastructure/Services/LocalFileStorageService.cs - SMTP settings
src/JoyGames.Infrastructure/Options/SmtpOptions.cs
Requests and access
- Account security
src/JoyGames.Infrastructure/Services/BcryptPasswordHasher.cs - Contact and account requests
src/JoyGames.Web/Controllers - Email service contract
src/JoyGames.Core/Interfaces/Services/IEmailService.cs - SMTP email service
src/JoyGames.Infrastructure/Services/EmailService.cs
Other components
- Visitor
- Cloudinary
- SMTP server
Connections 22
- Visitor → MVC application: browses
README.md - MVC application → Home controller: routes requests
src/JoyGames.Web/Controllers/HomeController.cs - Home controller → Catalog views: renders
- Catalog views → View models: uses models
- Visitor → Contact and account requests: submits requests
README.md - MVC application → Browser assets: serves assets
README.md - Game domain → Repository contracts: represented by
src/JoyGames.Core/Interfaces/Repositories/IGameRepository.cs - Game repository → Repository contracts: implements
src/JoyGames.Infrastructure/Data/Repositories/GameRepository.cs - Game repository → Game domain: accepts game
src/JoyGames.Infrastructure/Data/Repositories/GameRepository.cs - Game repository → SQL database: persists games
- Connection factory → SQL database: opens connections
- Service registration → Game repository: registers
src/JoyGames.Infrastructure/DependencyInjection.cs - Service registration → Connection factory: registers
src/JoyGames.Infrastructure/DependencyInjection.cs - Web startup → Service registration: configures services
- Image storage → Cloudinary: optional storage
README.md - Account security → Service registration: registers hashing
src/JoyGames.Infrastructure/DependencyInjection.cs - Contact and account requests → Email service contract: sends notifications
README.md - SMTP email service → Email service contract: implements
src/JoyGames.Infrastructure/Services/EmailService.cs - SMTP email service → SMTP settings: reads settings
src/JoyGames.Infrastructure/Services/EmailService.cs - SMTP email service → SMTP server: sends mail
src/JoyGames.Infrastructure/Services/EmailService.cs - Service registration → SMTP email service: registers
src/JoyGames.Infrastructure/DependencyInjection.cs - Service registration → SMTP settings: binds settings
src/JoyGames.Infrastructure/DependencyInjection.cs