How phnaves/taskflow works
TaskFlow is a Laravel task-management web app. Users register or log in, then manage their own tasks: list and filter by priority, create, edit, complete, and delete. Requests enter through web routes and controllers, which delegate task operations to a service and persist through the user/task models; Blade views render the screens. The README also documents per-user isolation, status counts, and priority filtering. The graph follows shown route/controller/service calls; broader Laravel request and database runtime wiring is not expanded beyond the evidence provided.
Main entry points: TaskController.php Task actions · AuthenticatedSessionController.php Login and logout · RegisteredUserController.php User registration · web.php Web routes
Components 23
Web entry
- Laravel front controller
public/index.php - Application bootstrap
bootstrap/app.php - Web routes
routes/web.php - Authentication routes
routes/auth.php
User identity
- Login and logout
app/Http/Controllers/Auth/AuthenticatedSessionController.php - User registration
app/Http/Controllers/Auth/RegisteredUserController.php - Login validation
app/Http/Requests/Auth/LoginRequest.php - Registration validation
app/Http/Requests/Auth/RegisterRequest.php - Authentication service
app/Services/Auth/AuthService.php - User account model
app/Models/User.php
Task management
- Task actions
app/Http/Controllers/TaskController.php - Task request validation
app/Http/Requests/Task/StoreTaskRequest.php - Update validation
app/Http/Requests/Task/UpdateTaskRequest.php - Task operations
app/Services/Task/TaskService.php - Task model
app/Models/Task.php - Configured database
config/database.php
Web interface
- Login screen
resources/views/auth/login.blade.php - Registration screen
resources/views/auth/register.blade.php - Task list
resources/views/tasks/index.blade.php - Task form
resources/views/tasks/_form.blade.php - Authenticated layout
resources/views/layouts/app.blade.php - Guest layout
resources/views/layouts/guest.blade.php
Other components
- User browser
Connections 25
- User browser → Laravel front controller: sends request
- Laravel front controller → Application bootstrap: boots app
public/index.php - Application bootstrap → Web routes: loads routes
bootstrap/app.php - Web routes → Authentication routes: includes routes
routes/web.php - Authentication routes → Login and logout: routes to
routes/auth.php - Authentication routes → User registration: routes to
routes/auth.php - Web routes → Task actions: routes to
routes/web.php - Login and logout → Login validation: accepts request
app/Http/Controllers/Auth/AuthenticatedSessionController.php - User registration → Registration validation: accepts request
app/Http/Controllers/Auth/RegisteredUserController.php - Login and logout → Authentication service: delegates auth
app/Http/Controllers/Auth/AuthenticatedSessionController.php - User registration → Authentication service: delegates signup
app/Http/Controllers/Auth/RegisteredUserController.php - Authentication service → User account model: creates user
app/Services/Auth/AuthService.php - Login and logout → Login screen: renders
- User registration → Registration screen: renders
- Task actions → Task request validation: accepts create
app/Http/Controllers/TaskController.php - Task actions → Update validation: accepts update
app/Http/Controllers/TaskController.php - Task actions → Task operations: delegates actions
app/Http/Controllers/TaskController.php - Task operations → User account model: queries owned tasks
app/Services/Task/TaskService.php - Task operations → Task model: filters and updates
app/Services/Task/TaskService.php - Task actions → Task list: renders list
- Task actions → Task form: renders form
- Task list → Authenticated layout: uses layout
- Login screen → Guest layout: uses layout
- Registration screen → Guest layout: uses layout
- Task model → Configured database: persists records