How mj33t/amin_tech works
Main Components
A. Frontend Layer:
• Blade Views (resources/views/)
• Public Assets (public/)
• JavaScript & CSS (resources/js, resources/css)
B. Application Layer:
• Controllers (app/Http/Controllers/)
• Middleware (app/Http/Middleware/)
• Routes (routes/)
C. Data Layer:
• Models (app/Models/)
• Database Migrations
• File Storage (storage/app/public)
[Client Browser]
• ↕
[Web Server (Apache/Nginx)]
• ↕
[Laravel Application]
• Frontend Layer
• Public Views
• Admin Views
• Assets (JS/CSS/Images)
• Application Layer
• Routes
• Middleware
• Authentication
• Other Security Middleware
• Controllers
• UserController
• ProductController
• ContactController
• AdminController
• Data Layer
• Models
• User
• Product
• Contact
• Database
• MySQL/PostgreSQL
• File Storage
• Product Images
Key Flows to Highlight
A. Authentication Flow:
• Login request → Middleware → UserController → User Model → Database
• Authentication middleware protection for admin routes
B. Product Management Flow:
• Product creation/import
• Image storage process
• CSV import functionality
C. Contact Management Flow:
• Contact submission
• Admin contact review process
Implementation Notes
• Maintain consistent spacing and alignment
• Annotations for critical processes