# developermaher/task-manager-aws architecture

> Architecture diagram of the GitHub repository developermaher/task-manager-aws, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/developermaher/task-manager-aws
- Repository: https://github.com/developermaher/task-manager-aws

## Overview

This is a Laravel task manager deployed, according to the README, as an AWS three-tier application. The principal workflow is a user request routed into Laravel, authenticated or authorized as needed, then used to list or change tasks; task creation can also store an attachment and publish an SNS event. Profile management and registration, login, and email verification are additional user-facing flows. The tree contains application code but not the described AWS infrastructure or deployment implementation, so those relationships are shown only where the README documents them; CI/CD is omitted.

Main entry points: [`app/Http/Controllers/TaskController.php`](https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/TaskController.php) (Task operations), [`routes/web.php`](https://github.com/developermaher/task-manager-aws/blob/main/routes/web.php) (Web routes), [`routes/auth.php`](https://github.com/developermaher/task-manager-aws/blob/main/routes/auth.php) (Auth routes), [`app/Http/Controllers/ProfileController.php`](https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/ProfileController.php) (Profile management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_request["Request handling"]
  node_entry["Laravel entry<br/>[index.php]"]
  node_bootstrap["App routing<br/>[app.php]"]
  node_web_routes["Web routes<br/>[web.php]"]
end

subgraph group_identity["Identity and profile"]
  node_auth_routes["Auth routes<br/>[auth.php]"]
  node_registration["Registration"]
  node_sessions["Sessions"]
  node_verification["Email verification"]
  node_login_request["Login validation<br/>[LoginRequest.php]"]
  node_profile["Profile management"]
  node_profile_validation["Profile validation"]
  node_user_model["User account<br/>[User.php]"]
end

subgraph group_tasks["Task management"]
  node_task_controller["Task operations<br/>[TaskController.php]"]
  node_task_policy["Task authorization<br/>[TaskPolicy.php]"]
  node_task_model["Task records<br/>[Task.php]"]
  node_task_views["Task screens<br/>[index.blade.php]"]
end

subgraph group_cloud["AWS services"]
  node_database[("RDS MySQL")]
  node_redis[("ElastiCache Redis")]
  node_object_storage[("S3 uploads")]
  node_sns_service["SNS publisher<br/>[SnsService.php]"]
  node_sns["AWS SNS"]
end

node_user(("User"))

node_user -->|"sends request"| node_entry
node_entry -->|"starts app"| node_bootstrap
node_bootstrap -->|"loads routes"| node_web_routes
node_web_routes -->|"routes requests"| node_task_controller
node_web_routes -->|"routes requests"| node_profile
node_web_routes -->|"loads auth routes"| node_auth_routes
node_auth_routes -->|"routes registration"| node_registration
node_auth_routes -->|"routes sessions"| node_sessions
node_auth_routes -->|"routes verification"| node_verification
node_sessions -->|"authenticates with"| node_login_request
node_registration -->|"creates account"| node_user_model
node_profile -->|"validates updates"| node_profile_validation
node_profile -->|"updates account"| node_user_model
node_task_controller -->|"reads and changes"| node_task_model
node_task_controller -.->|"authorizes actions"| node_task_policy
node_task_controller -->|"renders task list"| node_task_views
node_task_model -->|"persists records"| node_database
node_user_model -->|"uses sessions"| node_redis
node_task_controller -->|"stores attachments"| node_object_storage
node_task_controller -->|"publishes creation event"| node_sns_service
node_sns_service -->|"publishes message"| node_sns

click node_entry "https://github.com/developermaher/task-manager-aws/blob/main/public/index.php"
click node_bootstrap "https://github.com/developermaher/task-manager-aws/blob/main/bootstrap/app.php"
click node_web_routes "https://github.com/developermaher/task-manager-aws/blob/main/routes/web.php"
click node_auth_routes "https://github.com/developermaher/task-manager-aws/blob/main/routes/auth.php"
click node_registration "https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php"
click node_sessions "https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php"
click node_verification "https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/Auth/EmailVerificationNotificationController.php"
click node_login_request "https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Requests/Auth/LoginRequest.php"
click node_profile "https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/ProfileController.php"
click node_profile_validation "https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Requests/ProfileUpdateRequest.php"
click node_user_model "https://github.com/developermaher/task-manager-aws/blob/main/app/Models/User.php"
click node_task_controller "https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/TaskController.php"
click node_task_policy "https://github.com/developermaher/task-manager-aws/blob/main/app/Policies/TaskPolicy.php"
click node_task_model "https://github.com/developermaher/task-manager-aws/blob/main/app/Models/Task.php"
click node_task_views "https://github.com/developermaher/task-manager-aws/blob/main/resources/views/tasks/index.blade.php"
click node_sns_service "https://github.com/developermaher/task-manager-aws/blob/main/app/Services/SnsService.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_bootstrap,node_web_routes,node_user toneBlue
class node_auth_routes,node_registration,node_sessions,node_verification,node_login_request,node_profile,node_profile_validation,node_user_model toneAmber
class node_task_controller,node_task_policy,node_task_model,node_task_views toneMint
class node_database,node_redis,node_object_storage,node_sns_service,node_sns toneRose
```

## Components

### Request handling

- [Laravel entry](https://github.com/developermaher/task-manager-aws/blob/main/public/index.php): `public/index.php`
- [App routing](https://github.com/developermaher/task-manager-aws/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [Web routes](https://github.com/developermaher/task-manager-aws/blob/main/routes/web.php): `routes/web.php`

### Identity and profile

- [Auth routes](https://github.com/developermaher/task-manager-aws/blob/main/routes/auth.php): `routes/auth.php`
- [Registration](https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php): `app/Http/Controllers/Auth/RegisteredUserController.php`
- [Sessions](https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php): `app/Http/Controllers/Auth/AuthenticatedSessionController.php`
- [Email verification](https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/Auth/EmailVerificationNotificationController.php): `app/Http/Controllers/Auth/EmailVerificationNotificationController.php`
- [Login validation](https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Requests/Auth/LoginRequest.php): `app/Http/Requests/Auth/LoginRequest.php`
- [Profile management](https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/ProfileController.php): `app/Http/Controllers/ProfileController.php`
- [Profile validation](https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Requests/ProfileUpdateRequest.php): `app/Http/Requests/ProfileUpdateRequest.php`
- [User account](https://github.com/developermaher/task-manager-aws/blob/main/app/Models/User.php): `app/Models/User.php`

### Task management

- [Task operations](https://github.com/developermaher/task-manager-aws/blob/main/app/Http/Controllers/TaskController.php): `app/Http/Controllers/TaskController.php`
- [Task authorization](https://github.com/developermaher/task-manager-aws/blob/main/app/Policies/TaskPolicy.php): `app/Policies/TaskPolicy.php`
- [Task records](https://github.com/developermaher/task-manager-aws/blob/main/app/Models/Task.php): `app/Models/Task.php`
- [Task screens](https://github.com/developermaher/task-manager-aws/blob/main/resources/views/tasks/index.blade.php): `resources/views/tasks/index.blade.php`

### AWS services

- **RDS MySQL**
- **ElastiCache Redis**
- **S3 uploads**
- [SNS publisher](https://github.com/developermaher/task-manager-aws/blob/main/app/Services/SnsService.php): `app/Services/SnsService.php`
- **AWS SNS**

### Other components

- **User**

## Connections

- User → Laravel entry: sends request
- Laravel entry → App routing: starts app (evidence: `public/index.php`)
- App routing → Web routes: loads routes (evidence: `bootstrap/app.php`)
- Web routes → Task operations: routes requests (evidence: `routes/web.php`)
- Web routes → Profile management: routes requests (evidence: `routes/web.php`)
- Web routes → Auth routes: loads auth routes (evidence: `routes/web.php`)
- Auth routes → Registration: routes registration (evidence: `routes/auth.php`)
- Auth routes → Sessions: routes sessions (evidence: `routes/auth.php`)
- Auth routes → Email verification: routes verification (evidence: `routes/auth.php`)
- Sessions → Login validation: authenticates with (evidence: `app/Http/Controllers/Auth/AuthenticatedSessionController.php`)
- Registration → User account: creates account (evidence: `app/Http/Controllers/Auth/RegisteredUserController.php`)
- Profile management → Profile validation: validates updates (evidence: `app/Http/Controllers/ProfileController.php`)
- Profile management → User account: updates account (evidence: `app/Http/Controllers/ProfileController.php`)
- Task operations → Task records: reads and changes (evidence: `app/Http/Controllers/TaskController.php`)
- Task operations → Task authorization: authorizes actions
- Task operations → Task screens: renders task list (evidence: `app/Http/Controllers/TaskController.php`)
- Task records → RDS MySQL: persists records
- User account → ElastiCache Redis: uses sessions
- Task operations → S3 uploads: stores attachments (evidence: `app/Http/Controllers/TaskController.php`)
- Task operations → SNS publisher: publishes creation event (evidence: `app/Http/Controllers/TaskController.php`)
- SNS publisher → AWS SNS: publishes message (evidence: `app/Services/SnsService.php`)
