# dwikycode/mabu.id architecture

> Architecture diagram of the GitHub repository dwikycode/mabu.id, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dwikycode/mabu.id
- Repository: https://github.com/dwikycode/mabu.id

## Overview

This repository is a Laravel application skeleton, not the Laravel framework implementation. Its main user-facing path is an HTTP request entering Laravel’s front controller, bootstrapping the app and registering web routes; the route handler details are not available in the excerpts, so the final view connection is left unclaimed. The skeleton also defines a User model and factory, with authentication configured to use that model. README capabilities describe the framework generally, not application-specific features; unsampled implementation details are not inferred.

Main entry points: [`app/Models/User.php`](https://github.com/dwikycode/mabu.id/blob/main/app/Models/User.php) (User model), [`public/index.php`](https://github.com/dwikycode/mabu.id/blob/main/public/index.php) (HTTP entry), [`bootstrap/app.php`](https://github.com/dwikycode/mabu.id/blob/main/bootstrap/app.php) (App bootstrap), [`database/factories/UserFactory.php`](https://github.com/dwikycode/mabu.id/blob/main/database/factories/UserFactory.php) (User factory)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_request["Request handling"]
  node_front_controller["HTTP entry<br/>[index.php]"]
  node_application_bootstrap["App bootstrap<br/>[app.php]"]
  node_web_routes["Web routes<br/>[web.php]"]
  node_welcome_page["Welcome view<br/>[welcome.blade.php]"]
end

subgraph group_identity["User identity"]
  node_user_model["User model<br/>[User.php]"]
  node_user_factory["User factory<br/>[UserFactory.php]"]
  node_database_seeder["User seeding<br/>[DatabaseSeeder.php]"]
end

subgraph group_framework["Framework configuration"]
  node_auth_config["Authentication config<br/>[auth.php]"]
  node_database_config["Database config<br/>[database.php]"]
  node_service_provider["App service provider"]
end

node_visitor(("Web visitor"))

node_visitor -->|"sends request"| node_front_controller
node_front_controller -->|"loads app"| node_application_bootstrap
node_application_bootstrap -->|"registers routes"| node_web_routes
node_auth_config -->|"selects model"| node_user_model
node_user_factory -->|"creates users"| node_user_model
node_database_seeder -->|"seeds user"| node_user_model

click node_front_controller "https://github.com/dwikycode/mabu.id/blob/main/public/index.php"
click node_application_bootstrap "https://github.com/dwikycode/mabu.id/blob/main/bootstrap/app.php"
click node_web_routes "https://github.com/dwikycode/mabu.id/blob/main/routes/web.php"
click node_welcome_page "https://github.com/dwikycode/mabu.id/blob/main/resources/views/welcome.blade.php"
click node_user_model "https://github.com/dwikycode/mabu.id/blob/main/app/Models/User.php"
click node_user_factory "https://github.com/dwikycode/mabu.id/blob/main/database/factories/UserFactory.php"
click node_database_seeder "https://github.com/dwikycode/mabu.id/blob/main/database/seeders/DatabaseSeeder.php"
click node_auth_config "https://github.com/dwikycode/mabu.id/blob/main/config/auth.php"
click node_database_config "https://github.com/dwikycode/mabu.id/blob/main/config/database.php"
click node_service_provider "https://github.com/dwikycode/mabu.id/blob/main/app/Providers/AppServiceProvider.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_front_controller,node_application_bootstrap,node_web_routes,node_welcome_page toneBlue
class node_user_model,node_user_factory,node_database_seeder toneAmber
class node_auth_config,node_database_config,node_service_provider toneMint
class node_visitor toneIndigo
```

## Components

### Request handling

- [HTTP entry](https://github.com/dwikycode/mabu.id/blob/main/public/index.php): `public/index.php`
- [App bootstrap](https://github.com/dwikycode/mabu.id/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [Web routes](https://github.com/dwikycode/mabu.id/blob/main/routes/web.php): `routes/web.php`
- [Welcome view](https://github.com/dwikycode/mabu.id/blob/main/resources/views/welcome.blade.php): `resources/views/welcome.blade.php`

### User identity

- [User model](https://github.com/dwikycode/mabu.id/blob/main/app/Models/User.php): `app/Models/User.php`
- [User factory](https://github.com/dwikycode/mabu.id/blob/main/database/factories/UserFactory.php): `database/factories/UserFactory.php`
- [User seeding](https://github.com/dwikycode/mabu.id/blob/main/database/seeders/DatabaseSeeder.php): `database/seeders/DatabaseSeeder.php`

### Framework configuration

- [Authentication config](https://github.com/dwikycode/mabu.id/blob/main/config/auth.php): `config/auth.php`
- [Database config](https://github.com/dwikycode/mabu.id/blob/main/config/database.php): `config/database.php`
- [App service provider](https://github.com/dwikycode/mabu.id/blob/main/app/Providers/AppServiceProvider.php): `app/Providers/AppServiceProvider.php`

### Other components

- **Web visitor**

## Connections

- Web visitor → HTTP entry: sends request (evidence: `public/index.php`)
- HTTP entry → App bootstrap: loads app (evidence: `public/index.php`)
- App bootstrap → Web routes: registers routes (evidence: `bootstrap/app.php`)
- Authentication config → User model: selects model (evidence: `config/auth.php`)
- User factory → User model: creates users (evidence: `database/factories/UserFactory.php`)
- User seeding → User model: seeds user (evidence: `database/seeders/DatabaseSeeder.php`)
