How arthurg-tech/schedulinghouseholdchores works
This is a Blazor WebAssembly client and ASP.NET Core API for managing recurring household chores. The main workflow is user registration or login, followed by authenticated task creation and listing scoped to that user; registration also seeds default chores. The API persists users and tasks in SQLite. The README highlights form validation and card-based task browsing. Edges reflect shown calls, API routes, or database configuration; the task-page implementation was not sampled, so its API interaction is documented by the README rather than inferred from its source.
Main entry points: AppDbContext.cs EF data context · AuthService.cs Authentication logic · AuthClientService.cs Auth client · RecurrentTaskController.cs Task endpoints
Components 16
Blazor client
- Login and registration
SchedulingHouseholdChores.UI/Pages - Task browsing and forms
SchedulingHouseholdChores.UI/Pages/Tasks.razor - Auth client
SchedulingHouseholdChores.UI/Services/AuthClientService.cs - JWT request handler
SchedulingHouseholdChores.UI/Services/AuthHttpMessageHandler.cs - Auth state
SchedulingHouseholdChores.UI/Components/AuthStateProvider.cs - Task DTO
SchedulingHouseholdChores.UI/Models/RecurrentTaskDto.cs
API services
- API host and configuration
SchedulingHouseholdChores/Program.cs - Authentication endpoints
SchedulingHouseholdChores/Controllers/AuthController.cs - Task endpoints
SchedulingHouseholdChores/Controllers/RecurrentTaskController.cs - Authentication logic
SchedulingHouseholdChores/Services/AuthService.cs - Default task seeding
SchedulingHouseholdChores/Services/DefaultTasksService.cs
Domain and storage
- User records
SchedulingHouseholdChores/Models/User.cs - Recurring task model
SchedulingHouseholdChores/Models/RecurrentTask.cs - EF data context
SchedulingHouseholdChores/Data/AppDbContext.cs - SQLite database
Other components
- Household user
Connections 20
- Household user → Login and registration: registers or logs in
README.md - Household user → Task browsing and forms: manages chores
README.md - Login and registration → Auth client: submits credentials
- Auth client → Authentication endpoints: POST auth routes
SchedulingHouseholdChores.UI/Services/AuthClientService.cs - Authentication endpoints → Authentication logic: delegates auth
SchedulingHouseholdChores/Controllers/AuthController.cs - Authentication logic → EF data context: reads and writes
SchedulingHouseholdChores/Services/AuthService.cs - Authentication logic → Default task seeding: requests defaults
SchedulingHouseholdChores/Services/AuthService.cs - Authentication logic → User records: creates user
SchedulingHouseholdChores/Services/AuthService.cs - Default task seeding → Recurring task model: builds defaults
SchedulingHouseholdChores/Services/DefaultTasksService.cs - Authentication logic → Recurring task model: persists defaults
SchedulingHouseholdChores/Services/AuthService.cs - Auth client → JWT request handler: provides token
SchedulingHouseholdChores.UI/Services/AuthHttpMessageHandler.cs - JWT request handler → Task endpoints: sends bearer token
- Task browsing and forms → Task endpoints: lists and creates tasks
README.md - Task endpoints → EF data context: queries and saves
SchedulingHouseholdChores/Controllers/RecurrentTaskController.cs - Task endpoints → Recurring task model: creates task
SchedulingHouseholdChores/Controllers/RecurrentTaskController.cs - EF data context → User records: maps users
SchedulingHouseholdChores/Data/AppDbContext.cs - EF data context → Recurring task model: maps tasks
SchedulingHouseholdChores/Data/AppDbContext.cs - API host and configuration → EF data context: configures SQLite
SchedulingHouseholdChores/Program.cs - EF data context → SQLite database: persists records
- Auth state → Auth client: checks authentication
SchedulingHouseholdChores.UI/Components/AuthStateProvider.cs