How gilbertojunior874/tcc-estetica works
DetailMap is a server-rendered Laravel marketplace that helps visitors discover approved automotive-detailing businesses, compare services and prices, and initiate contact through WhatsApp. Owners register a business and maintain its listing, hours, and services; administrators review applications and control publication. The application stores business, service, schedule, and account data in PostgreSQL. The graph follows documented routes and sampled controller/model calls; some branches, including hours and authentication, are based on the source index and README rather than inspected controller excerpts.
Main entry points: AutomotiveDetailingController.php Catalog and contact · AutomotiveDetailing.php Business and status · database.php PostgreSQL · DetailingController.php Business listing
Components 21
Public discovery
- Catalog and contact
app/Http/Controllers/AutomotiveDetailingController.php - Catalog filters
app/Http/Requests/CatalogFilterRequest.php - Catalog pages
resources/views/detailings/index.blade.php - Location and estimate
resources/js/app.js
Owner workspace
- Account registration
app/Http/Controllers/Auth/RegisteredUserController.php - Business listing
app/Http/Controllers/Owner/DetailingController.php - Service management
app/Http/Controllers/Owner/ServiceController.php - Hours management
app/Http/Controllers/Owner/BusinessHoursController.php
Admin review
- Application review
app/Http/Controllers/Admin/DetailingController.php
Domain and persistence
- Business and status
app/Models/AutomotiveDetailing.php - Service and pricing
app/Models/Service.php - Business hours
app/Models/BusinessHour.php - User accounts
app/Models/User.php - Business validation
app/Http/Requests/DetailingRequest.php - CNPJ validation
app/Rules/Cnpj.php - Service validation
app/Http/Requests/ServiceRequest.php - PostgreSQL
config/database.php
Other components
- Visitor
- Business owner
- Administrator
Connections 26
- Visitor → Catalog and contact: browses and contacts
- Catalog and contact → Catalog filters: validates filters
app/Http/Controllers/AutomotiveDetailingController.php - Catalog and contact → Business and status: queries listings
app/Http/Controllers/AutomotiveDetailingController.php - Catalog and contact → Catalog pages: renders pages
app/Http/Controllers/AutomotiveDetailingController.php - Catalog and contact → WhatsApp: redirects contact
app/Http/Controllers/AutomotiveDetailingController.php - Business and status → Service and pricing: loads services
app/Models/AutomotiveDetailing.php - Business and status → Business hours: loads hours
app/Models/AutomotiveDetailing.php - Visitor → Location and estimate: shares location
- Location and estimate → Catalog and contact: submits location
- Business owner → Account registration: creates account
- Account registration → User accounts: creates user
app/Http/Controllers/Auth/RegisteredUserController.php - Business owner → Business listing: registers listing
- Business listing → Business validation: validates listing
app/Http/Controllers/Owner/DetailingController.php - Business validation → CNPJ validation: checks CNPJ
app/Http/Requests/DetailingRequest.php - Business listing → Business and status: creates or updates
app/Http/Controllers/Owner/DetailingController.php - Business owner → Service management: maintains services
- Service management → Service validation: validates input
app/Http/Controllers/Owner/ServiceController.php - Service management → Service and pricing: writes services
app/Http/Controllers/Owner/ServiceController.php - Business owner → Hours management: maintains hours
- Hours management → Business hours: writes hours
app/Http/Controllers/Owner/BusinessHoursController.php - Administrator → Application review: reviews applications
- Application review → Business and status: transitions status
app/Http/Controllers/Admin/DetailingController.php - Business and status → PostgreSQL: persists business data
- Service and pricing → PostgreSQL: persists service data
- Business hours → PostgreSQL: persists schedules
- User accounts → PostgreSQL: persists accounts