How wacxv/tasklist-app works
TaskList is a React/.NET task-management application. Users register or sign in, then use a protected workspace to manage recurring tasks, images, and profile settings; the API enforces ownership and persists application data in PostgreSQL. The task and user controllers, database context, and key frontend flows are sampled. Other README capabilities are represented at the enclosing module level where their implementation was not sampled.
Main entry points: UsersController.cs User endpoints · TasksController.cs Task endpoints · axios.js API client · App.jsx React entry and routes
Components 18
Web application
- React entry and routes
frontend/src/App.jsx - Protected route
frontend/src/components/ProtectedRoute.jsx - Login
frontend/src/pages/login/Login.jsx - Registration
frontend/src/pages/register/Register.jsx - Task workspace
frontend/src/pages/tasks/Tasks.jsx - API client
frontend/src/api/axios.js
API and identity
- API host
backend/Program.cs - User endpoints
backend/Controllers/UsersController.cs - Task endpoints
backend/Controllers/TasksController.cs - JWT service
backend/Services/JwtService.cs - Password validation
backend/Services/PasswordValidator.cs
Task and profile domain
- Recurrence resets
backend/Controllers/TasksController.cs - Task images
backend/Controllers/TasksController.cs - Profile settings and images
backend/Controllers/UsersController.cs - User and task models
backend/Models
Persistence
- EF data context
backend/Data/ApplicationDbContext.cs - PostgreSQL
Other components
- User
Connections 22
- User → React entry and routes: uses
- React entry and routes → Login: routes
- React entry and routes → Registration: routes
- React entry and routes → Protected route: guards
- Protected route → Task workspace: renders
- Login → API client: submits credentials
- Registration → API client: submits registration
- Task workspace → API client: requests data
- API client → User endpoints: sends requests
- API client → Task endpoints: sends requests
- API host → User endpoints: maps controllers
- API host → Task endpoints: maps controllers
- User endpoints → EF data context: reads and writes
- Task endpoints → EF data context: reads and writes
- User endpoints → JWT service: generates tokens
- JWT service → User endpoints: returns token
- User endpoints → Password validation: validates password
- Task endpoints → Recurrence resets: resets elapsed tasks
- Task endpoints → Task images: handles image actions
- User endpoints → Profile settings and images: handles profile actions
- EF data context → User and task models: maps entities
- EF data context → PostgreSQL: persists data