How naofalinho/akatsuki works
This repository is a Laravel/Livewire storefront and administration application, with customer accounts and job-offer pages alongside product and order management. The visible registration flow configures Fortify to use a custom user-creation action, which validates profile fields and creates a user. The tree also indicates catalog, favorites, checkout, order history, job applications, and admin capabilities. Relationships are limited to those shown in excerpts or the source index; route wiring and most page implementations were not sampled.
Main entry points: User.php User model · CreateNewUser.php User registration · FortifyServiceProvider.php Fortify configuration · Order.php Order model
Components 23
Accounts and access
- Fortify configuration
app/Providers/FortifyServiceProvider.php - User registration
app/Actions/Fortify/CreateNewUser.php - Profile validation
app/Concerns/ProfileValidationRules.php - Account and settings
resources/views/pages/settings
Storefront and orders
- Product catalog
resources/views/pages/⚡catalogue.blade.php - Product pages
resources/views/pages - Cart and checkout
resources/views/pages/⚡commande.blade.php - Order pages
resources/views/pages/⚡mes-commandes.blade.php - Favorites
resources/views/pages/⚡favoris.blade.php
Job offers
- Job listings and applications
resources/views/pages/⚡offres-emploi.blade.php
Administration
- Admin product and stock
resources/views/pages/admin - Client management
resources/views/pages/admin/⚡clients.blade.php - Client details
resources/views/pages/admin/⚡voir-client.blade.php - Admin notifications
app/Livewire/Admin/Notifications.php - Admin middleware
app/Http/Middleware/AdminMiddleware.php
Domain and application
- Product model
app/Models/Product.php - Order model
app/Models/Order.php - Order items
app/Models/OrderItem.php - User model
app/Models/User.php - Job offer model
app/Models/JobOffer.php - Job application model
app/Models/JobApplication.php - Application defaults
app/Providers/AppServiceProvider.php
Other components
- Customer
Connections 10
- Fortify configuration → User registration: configures creation
app/Providers/FortifyServiceProvider.php - User registration → Profile validation: uses validation
app/Actions/Fortify/CreateNewUser.php - User registration → User model: creates user
app/Actions/Fortify/CreateNewUser.php - Customer → Fortify configuration: registers
- Client management → User model: queries clients
resources/views/pages/admin/⚡clients.blade.php - Client details → User model: loads client
resources/views/pages/admin/⚡voir-client.blade.php - User model → Order model: has many orders
app/Models/User.php - Order model → Order items: has many items
app/Models/Order.php - Admin notifications → User model: reads notifications
app/Livewire/Admin/Notifications.php - Admin middleware → User model: checks admin role