How prefeiturasp/sme-cdep works
SME-CDEP appears to be a cultural collection-management application, with a Web API for catalog, user, event, request, and reporting operations and a RabbitMQ worker for background tasks. The principal visible workflow is a user submitting or managing a collection-service request through the API, which delegates it to an application service. Separate branches cover event management, user accounts, reports, and background notifications and maintenance. The README provides no product detail; unsampled application internals are represented only where the tree identifies a subsystem.
Main entry points: WorkerRabbitMQ.cs Rabbit consumer · Program.cs Web API · AcervoSolicitacaoController.cs Collection requests · UsuarioController.cs User accounts
Components 19
API entry points
- Web API
src/SME.CDEP.Webapi/Program.cs - Collection requests
src/SME.CDEP.Webapi/Controllers/AcervoSolicitacaoController.cs - User accounts
src/SME.CDEP.Webapi/Controllers/UsuarioController.cs - Event calendar
src/SME.CDEP.Webapi/Controllers/EventoController.cs - Reports API
src/SME.CDEP.Webapi/Controllers/RelatorioController.cs
Collections and requests
- Request service
src/SME.CDEP.Aplicacao/Servicos/ServicoAcervoSolicitacao.cs - Collection services
src/SME.CDEP.Aplicacao/Servicos - Collection imports
src/SME.CDEP.Aplicacao/Servicos/ServicoImportacaoArquivoAcervo.cs - File handling
src/SME.CDEP.Aplicacao/Servicos/ServicoUploadArquivo.cs
User and events
- User service
src/SME.CDEP.Aplicacao/Servicos/ServicoUsuario.cs - Event service
src/SME.CDEP.Aplicacao/Servicos/Interface/IServicoEvento.cs
Reports and dashboards
- Report use cases
src/SME.CDEP.Aplicacao/UseCase - Management dashboard
src/SME.CDEP.Aplicacao/Servicos/ServicoPainelGerencial.cs
Background processing
- Worker host
src/SME.CDEP.Worker/Program.cs - Rabbit consumer
src/SME.CDEP.Worker/WorkerRabbitMQ.cs - Message runtime
src/SME.CDEP.Infra.Servicos/Worker/WorkerRabbitCDEP.cs - Scheduled tasks
src/SME.CDEP.Aplicacao/UseCase - Email notifications
src/SME.CDEP.Aplicacao/Servicos/ServicoNotificacaoEmail.cs
Other components
- User
Connections 13
- User → Web API: uses
- Web API → Collection requests: hosts routes
- Collection requests → Request service: delegates to
src/SME.CDEP.Webapi/Controllers/AcervoSolicitacaoController.cs - User → User accounts: uses
- User accounts → User service: delegates to
src/SME.CDEP.Webapi/Controllers/UsuarioController.cs - User → Event calendar: uses
- Event calendar → Event service: delegates to
src/SME.CDEP.Webapi/Controllers/EventoController.cs - User → Reports API: requests reports
- Reports API → Report use cases: executes
src/SME.CDEP.Webapi/Controllers/RelatorioController.cs - Worker host → Rabbit consumer: hosts
src/SME.CDEP.Worker/Program.cs - Rabbit consumer → Message runtime: extends
src/SME.CDEP.Worker/WorkerRabbitMQ.cs - Rabbit consumer → Scheduled tasks: registers tasks
src/SME.CDEP.Worker/WorkerRabbitMQ.cs - Rabbit consumer → Email notifications: registers notifications