How charlesacioli1/restaurante works
This is a restaurant-management backend organized around a restaurant CRUD service and a persisted domain model. In the sampled implementation, the service accepts restaurant DTOs, creates or updates domain entities, and reads or writes them through Entity Framework. The domain also models menus, kitchen stations, staff, tables, orders, queues, and status values; these are represented as capabilities, not as a demonstrated end-to-end operational workflow. The README is empty, and the excerpts do not establish how the presentation layer routes requests.
Main entry points: RestauranteDbContext.cs Entity Framework context · RestauranteService.cs Restaurant CRUD · Program.cs Presentation host · Restaurante.cs Restaurant entity
Components 16
Restaurant service
- Restaurant CRUD
src/Restaurante.Services/Implementations/RestauranteService.cs - Service contract
src/Restaurante.Services/Interfaces/IRestauranteService.cs - Create input
src/Restaurante.Services/DTOs/Restaurante/CriarRestauranteDto.cs - Update input
src/Restaurante.Services/DTOs/Restaurante/AtualizarRestauranteDto.cs - Restaurant response
src/Restaurante.Services/DTOs/Restaurante/RestauranteResponseDto.cs
Restaurant domain
- Restaurant entity
src/Restaurante.Domain/Restaurante.cs - Menus and items
src/Restaurante.Domain/Cardapio.cs - Kitchen and queue
src/Restaurante.Domain/Cozinha.cs - Waiters and assignments
src/Restaurante.Domain/GarcomRestaurante.cs - Tables and orders
src/Restaurante.Domain/Pedido.cs - Domain statuses
src/Restaurante.Domain/StatusPedido.cs
Persistence
- Entity Framework context
src/Restaurante.Infrastructure/Persistencia/RestauranteDbContext.cs - Entity mappings
src/Restaurante.Infrastructure/Configurations
Other components
- API caller
- Presentation host
src/Restaurante.Presentation/Program.cs - Relational database
Connections 15
- Restaurant CRUD → Entity Framework context: reads and writes
src/Restaurante.Services/Implementations/RestauranteService.cs - Restaurant CRUD → Restaurant entity: creates and updates
src/Restaurante.Services/Implementations/RestauranteService.cs - Restaurant CRUD → Create input: accepts
src/Restaurante.Services/Implementations/RestauranteService.cs - Restaurant CRUD → Update input: accepts
src/Restaurante.Services/Implementations/RestauranteService.cs - Restaurant CRUD → Restaurant response: returns
src/Restaurante.Services/Implementations/RestauranteService.cs - Entity Framework context → Restaurant entity: tracks
src/Restaurante.Infrastructure/Persistencia/RestauranteDbContext.cs - Entity Framework context → Menus and items: tracks
src/Restaurante.Infrastructure/Persistencia/RestauranteDbContext.cs - Entity Framework context → Kitchen and queue: tracks
src/Restaurante.Infrastructure/Persistencia/RestauranteDbContext.cs - Entity Framework context → Waiters and assignments: tracks
src/Restaurante.Infrastructure/Persistencia/RestauranteDbContext.cs - Entity Framework context → Tables and orders: tracks
src/Restaurante.Infrastructure/Persistencia/RestauranteDbContext.cs - Entity Framework context → Domain statuses: tracks
src/Restaurante.Infrastructure/Persistencia/RestauranteDbContext.cs - Entity Framework context → Entity mappings: applies mappings
src/Restaurante.Infrastructure/Persistencia/RestauranteDbContext.cs - Entity Framework context → Relational database: persists entities
- API caller → Presentation host: sends requests
- Presentation host → Restaurant CRUD: dispatches to