How luizfaraujo/pos_dev_web--tcc_arjsys--back works
ArjSys is a .NET Web API for managing mechanical-project workflows, with engineering, sales, production, and administration domains backed by SQLite. The principal workflow spans product/BOM definition, sales orders and serial numbers, then production orders; administrative services support users and notifications. The tree also contains a separate Protheus CSV importer, but the README describes only the API. Relationships below follow sampled controller/service references and the source index; unsampled areas are represented at directory level where appropriate.
Main entry points: AppDbContext.cs Application database · Engenharia Products and BOM · OrdemProducaoService.cs Production orders · NotificacaoService.cs Notifications
Components 16
API surface
- Engineering endpoints
app/Controllers/Engenharia - Sales endpoints
app/Controllers/Comercial - Production endpoints
app/Controllers/Producao - Work-order endpoint
app/Controllers/OrdemProducaoController.cs - Admin endpoints
app/Controllers/Admin
Business services
- Products and BOM
app/Services/Engenharia - Sales orders
app/Services/Comercial/PedidoVendaService.cs - Serial numbers
app/Services/Comercial/NumeroSerieService.cs - Production orders
app/Services/Producao/OrdemProducaoService.cs - Admin services
app/Services/Admin - Notifications
app/Services/Admin/NotificacaoService.cs - Search and paging
app/Data/Busca/BuscaExtensions.cs
Persistence
- Application database
app/Data/AppDbContext.cs
CSV import
- Protheus CSV importer
ProtheusImporter
Other components
- API client
- Document filesystem
Connections 23
- API client → Engineering endpoints: sends requests
- API client → Sales endpoints: sends requests
- API client → Production endpoints: sends requests
- API client → Work-order endpoint: sends requests
- API client → Admin endpoints: sends requests
- Engineering endpoints → Products and BOM: calls
app/Controllers/Engenharia/ProdutosController.cs - Engineering endpoints → Products and BOM: calls
app/Controllers/Engenharia/BomController.cs - Sales endpoints → Sales orders: calls
app/Controllers/Comercial/PedidoVendaController.cs - Sales endpoints → Serial numbers: calls
app/Controllers/Comercial/NumeroSerieController.cs - Production endpoints → Production orders: calls
app/Controllers/Producao/DemandaController.cs - Work-order endpoint → Production orders: calls
app/Controllers/OrdemProducaoController.cs - Admin endpoints → Admin services: calls
app/Controllers/Admin/ClientesController.cs - Admin endpoints → Notifications: calls
app/Controllers/Admin/NotificacoesController.cs - Products and BOM → Application database: reads and writes
app/Services/Engenharia/ProdutoService.cs - Sales orders → Application database: reads and writes
app/Services/Comercial/PedidoVendaService.cs - Serial numbers → Application database: reads and writes
app/Services/Comercial/NumeroSerieService.cs - Production orders → Application database: reads and writes
app/Services/Producao/OrdemProducaoService.cs - Admin services → Application database: uses context
app/Services/Admin/AuthService.cs - Notifications → Application database: reads and writes
app/Services/Admin/NotificacaoService.cs - Sales orders → Notifications: creates notifications
app/Services/Comercial/PedidoVendaService.cs - Production orders → Notifications: creates notifications
app/Services/Producao/OrdemProducaoService.cs - Products and BOM → Document filesystem: opens documents
app/Services/Engenharia/ProdutoService.cs - Protheus CSV importer → Application database: imports data