How marioguilherme/cidadeinteligente works
CidadeInteligente is a project-management system for Fatec de Lins teachers and students: users authenticate, browse or manage projects and their media, while administrators maintain users, courses, and areas. The MVC interface routes work through application CQRS handlers to domain repositories and persistence; authentication recovery also uses transactional email, and project media uses cloud storage. The project-detail and paginated-list query paths are evidenced in handler excerpts. Other subsystem connections follow README capabilities or remain dashed where implementation excerpts were not provided.
Main entry points: Controllers MVC and API · IUnitOfWork.cs Unit of Work · GetProjectByIdQueryHandler.cs Project detail · GetRelatedProjectsFromUserQueryHandler.cs User projects
Components 20
Web interface
- MVC and API
CidadeInteligente.Mvc/Controllers
Application workflows
- Project queries
CidadeInteligente.Application/Queries/GetProjects - Project detail
CidadeInteligente.Application/Queries/GetProjectById/GetProjectByIdQueryHandler.cs - User projects
CidadeInteligente.Application/Queries/GetRelatedProjectsFromUser/GetRelatedProjectsFromUserQueryHandler.cs - Project management
CidadeInteligente.Application/Commands - Account workflows
CidadeInteligente.Application/Commands/CreateUser - Authentication
CidadeInteligente.Application/Queries/AuthenticateUser/AuthenticateUserQueryHandler.cs - Password recovery
CidadeInteligente.Application/Commands/SendEmailRecover - Admin catalogs
CidadeInteligente.Application/Commands/CreateArea
Domain model
- Business notifications
CidadeInteligente.Domain/Notifications/INotificationContext.cs - Project model
CidadeInteligente.Domain/Entities/Project.cs - User model
CidadeInteligente.Domain/Entities/User.cs - Area and course
CidadeInteligente.Domain/Entities/Area.cs - Query specifications
CidadeInteligente.Domain/Specifications/Specification.cs - Unit of Work
CidadeInteligente.Domain/Repositories/IUnitOfWork.cs - File storage contract
CidadeInteligente.Domain/Services/IFileStorage.cs
Infrastructure
- SQL Server
CidadeInteligente.Infrastructure/Persistence/CidadeInteligenteDbContext.cs - SendGrid email
CidadeInteligente.Infrastructure/Services/SendGridEmailService.cs - Azure Blob storage
CidadeInteligente.Infrastructure/Services/AzureStorageService.cs
Other components
- Visitors and users
Connections 23
- Visitors and users → MVC and API: use
- MVC and API → Project queries: request
CidadeInteligente.Mvc/Controllers/ProjectsController.cs - MVC and API → Project detail: request
- MVC and API → Project management: manage
CidadeInteligente.Mvc/Controllers/v1/ProjectsApiController.cs - MVC and API → Authentication: authenticate
- MVC and API → Account workflows: register
- MVC and API → Password recovery: recover password
- MVC and API → Admin catalogs: administer
- MVC and API → User projects: request
- Project detail → Unit of Work: query
CidadeInteligente.Application/Queries/GetProjectById/GetProjectByIdQueryHandler.cs - Project detail → Query specifications: build query
CidadeInteligente.Application/Queries/GetProjectById/GetProjectByIdQueryHandler.cs - Project detail → Business notifications: report missing
CidadeInteligente.Application/Queries/GetProjectById/GetProjectByIdQueryHandler.cs - Project queries → Unit of Work: query page
CidadeInteligente.Application/Queries/GetProjects/GetProjectsQueryHandler.cs - Project queries → Query specifications: build query
CidadeInteligente.Application/Queries/GetProjects/GetProjectsQueryHandler.cs - User projects → Unit of Work: check and query
CidadeInteligente.Application/Queries/GetRelatedProjectsFromUser/GetRelatedProjectsFromUserQueryHandler.cs - User projects → Query specifications: build query
CidadeInteligente.Application/Queries/GetRelatedProjectsFromUser/GetRelatedProjectsFromUserQueryHandler.cs - User projects → Business notifications: report missing
CidadeInteligente.Application/Queries/GetRelatedProjectsFromUser/GetRelatedProjectsFromUserQueryHandler.cs - Authentication → Unit of Work: look up user
CidadeInteligente.Application/Queries/AuthenticateUser/AuthenticateUserQueryHandler.cs - Authentication → Query specifications: build query
CidadeInteligente.Application/Queries/AuthenticateUser/AuthenticateUserQueryHandler.cs - Unit of Work → SQL Server: persist data
- Project model → File storage contract: media capability
- Azure Blob storage → File storage contract: implements
CidadeInteligente.Infrastructure/Services/AzureStorageService.cs - Password recovery → SendGrid email: send email