How kx0809/cloud-deployed-bookstore-web-application works
Unpopular is a Laravel online bookstore. The main user journey is browsing books, adding selections to a cart, completing a simulated checkout, and viewing purchases; registered users also manage profiles and inquiries, while administrators manage books, inquiries, and admin accounts. The map includes the MVC data layer and documented AWS deployment capabilities. Some route wiring and several feature implementations were not sampled, so those links are omitted or marked unverified rather than inferred from filenames.
Main entry points: CartController.php Cart and checkout · AdminBookManagingController.php Book management · BookController.php Book browsing · ContactUsController.php User inquiries
Components 28
Catalog and administration
- Book browsing views
resources/views/book - Book browsing
app/Http/Controllers/BookController.php - Book management
app/Http/Controllers/AdminBookManagingController.php - Book records
app/Models/Book.php
Purchasing
- Cart and checkout
app/Http/Controllers/CartController.php - Shopping cart records
app/Models/ShoppingCart.php - Purchased book records
app/Models/PurchasedBook.php - Cart and checkout views
resources/views/user
Accounts and inquiries
- Login
app/Http/Controllers/Auth/LoginController.php - Registration
app/Http/Controllers/Auth/RegisterController.php - Profile management
app/Http/Controllers/Auth/ProfileController.php - User inquiries
app/Http/Controllers/ContactUsController.php - Inquiry management
app/Http/Controllers/AdminContactFormController.php - Inquiry records
app/Models/ContactForm.php - Admin account management
app/Http/Controllers/AdminManageAdminController.php - User records
app/Models/User.php
Application platform
- Shared controller base
app/Http/Controllers/Controller.php - Web route registration
app/Providers/RouteServiceProvider.php - Authorization gates
app/Providers/AuthServiceProvider.php - Application configuration
config/app.php - Database configuration
config/database.php - Exception handling
app/Exceptions/Handler.php
Other components
- Guest or registered reader
- Administrator
- AWS RDS MySQL
- AWS S3 and Glacier
- Elastic Beanstalk and EC2
- CloudWatch
Connections 24
- Guest or registered reader → Book browsing: browses
- Book browsing → Book browsing views: shows listings
- Guest or registered reader → Cart and checkout: checks out
- Cart and checkout → Shopping cart records: reads and writes
app/Http/Controllers/CartController.php - Cart and checkout → Book records: looks up books
app/Http/Controllers/CartController.php - Cart and checkout → Purchased book records: creates purchases
- Cart and checkout → Cart and checkout views: shows checkout
- Administrator → Book management: manages catalog
app/Http/Controllers/AdminBookManagingController.php - Book management → Book records: updates records
app/Http/Controllers/AdminBookManagingController.php - Book management → AWS S3 and Glacier: stores book files
- Guest or registered reader → Login: signs in
- Guest or registered reader → Registration: registers
- Guest or registered reader → Profile management: manages profile
- Guest or registered reader → User inquiries: sends inquiry
- User inquiries → Inquiry records: records inquiry
- Administrator → Inquiry management: handles inquiries
- Inquiry management → Inquiry records: tracks status
- Administrator → Admin account management: manages admins
- Web route registration → Authorization gates: registers routes
- Database configuration → AWS RDS MySQL: configures database
- Elastic Beanstalk and EC2 → AWS RDS MySQL: uses database
- Elastic Beanstalk and EC2 → AWS S3 and Glacier: stores assets
- Elastic Beanstalk and EC2 → CloudWatch: logs and monitors
- Application configuration → Authorization gates: loads provider
config/app.php