How ivansamuelortizorellana/alvgluten_final- works
AlvGluten is a Laravel/Livewire online shop for gluten-free products. The customer workflow is catalog browsing, cart management, authenticated checkout, order creation and confirmation email, followed by order history. Admin product management and account/social login are separate capabilities. Routing and checkout links are shown in the provided evidence; several catalog, cart and admin implementations were not sampled, so their internal calls are not asserted.
Main entry points: web.php Web routes · Checkout.php Checkout · ProductEdit.php Edit product · GoogleAuthController.php Google sign-in
Components 23
Shop experience
- Web routes
routes/web.php - Product catalog
app/Livewire/Catalog.php - Shopping cart
app/Livewire/CartDrawer.php - Checkout
app/Livewire/Checkout.php
Orders and data
- Order history
app/Livewire/MisPedidos.php - Products
app/Models/Product.php - Categories
app/Models/Category.php - Orders
app/Models/Order.php - Order items
app/Models/OrderItem.php - Confirmation email
app/Mail/ConfirmacionPedido.php
Catalog administration
- Admin product routes
routes/web.php - Product management
app/Livewire/Admin/ProductIndex.php - Create product
app/Livewire/Admin/ProductCreate.php - Edit product
app/Livewire/Admin/ProductEdit.php
Accounts and access
- User accounts
app/Models/User.php - Login and registration
app/Livewire/Forms/LoginForm.php - Google sign-in
app/Http/Controllers/GoogleAuthController.php - Auth routes
routes/auth.php - Email verification
app/Http/Controllers/Auth/VerifyEmailController.php - Admin access check
app/Http/Middleware/EsAdmin.php
Other components
- Customer
- Mail service
Connections 24
- Customer → Web routes: opens shop
routes/web.php - Web routes → Product catalog: routes to
routes/web.php - Web routes → Checkout: routes to
routes/web.php - Web routes → Order history: routes to
routes/web.php - Product catalog → Products: browses
- Customer → Shopping cart: manages cart
- Shopping cart → Products: updates cart
- Checkout → User accounts: reads cart
app/Livewire/Checkout.php - Checkout → Orders: creates order
app/Livewire/Checkout.php - Checkout → Order items: creates items
app/Livewire/Checkout.php - Checkout → Confirmation email: sends
app/Livewire/Checkout.php - Confirmation email → Mail service: delivers email
- Order history → Orders: lists orders
- Orders → Order items: has items
app/Models/Order.php - Admin product routes → Product management: routes to
routes/web.php - Admin product routes → Create product: routes to
routes/web.php - Admin product routes → Edit product: routes to
routes/web.php - Edit product → Products: edits
app/Livewire/Admin/ProductEdit.php - Edit product → Categories: loads categories
app/Livewire/Admin/ProductEdit.php - Login and registration → User accounts: authenticates
- Auth routes → Email verification: routes verification
routes/auth.php - Google sign-in → Google: exchanges identity
- Google sign-in → User accounts: creates or updates
app/Http/Controllers/GoogleAuthController.php - Web routes → Google sign-in: routes to
routes/web.php