How semechko-s/web works
ValeraApi is a REST service for managing Valera records and applying life-action rules to their state. Clients use the CRUD and activity routes; the controller delegates to a service, which loads or saves entities through EF Core and SQLite. Swagger/OpenAPI is also exposed in development. The entity contains the domain rules and state normalization. The README documents the persistence and API capabilities; wiring beyond the sampled startup and source excerpts is not inferred.
Main entry points: ValeraService.cs Valera Service · Program.cs Application Startup · ValeraController.cs Valera Controller · AppDbContext.cs EF Core Context
Components 9
HTTP API
- Valera Controller
ValeraApi/Controllers/ValeraController.cs - Swagger UI
Valera Domain
- Valera Service
ValeraApi/Services/ValeraService.cs - Service Contract
ValeraApi/Services/IValeraService.cs - Valera State Rules
ValeraApi/Models/Valera.cs
Persistence
- EF Core Context
ValeraApi/Data/AppDbContext.cs - SQLite Database
Application Setup
- Application Startup
ValeraApi/Program.cs
Other components
- API Client
Connections 10
- API Client → Valera Controller: sends requests
README.md - Valera Controller → Valera Service: calls operations
ValeraApi/Controllers/ValeraController.cs - Valera Service → EF Core Context: queries and saves
ValeraApi/Services/ValeraService.cs - Valera Service → Valera State Rules: applies actions
ValeraApi/Services/ValeraService.cs - Valera Controller → Service Contract: uses interface
ValeraApi/Controllers/ValeraController.cs - Application Startup → EF Core Context: configures and creates
ValeraApi/Program.cs - Application Startup → Valera Service: registers service
ValeraApi/Program.cs - EF Core Context → SQLite Database: stores records
README.md - Application Startup → Swagger UI: enables in development
ValeraApi/Program.cs - API Client → Swagger UI: explores API
README.md