How sumanadk7/paaila-rebuild works
Paaila is a trekking platform for discovering packages, booking and paying for treks, and sharing live traveler location with a PIN-authorized observer. The graph preserves those domain stages alongside the README’s feed, engagement, trending, and map capabilities. Sampled controllers show booking, payment, and tracking behavior; feed and recommendation wiring is less directly evidenced, so those branches are kept distinct. The available excerpts do not establish every route or integration connection.
Main entry points: BookingController.php Booking lifecycle · Models Domain records · TrackingController.php Location tracking · PaymentController.php Payment processing
Components 19
Discovery and community
- Tour packages
app/Http/Controllers/TourPackageController.php - Recommendations
app/Services/RecommendationService.php - Activity feed
app/Http/Controllers/PostController.php - Likes and ratings
app/Http/Controllers/TrekRatingController.php - Discovery screens
resources/views/tours - Feed screens
resources/views/feed
Booking and payment
- Booking lifecycle
app/Http/Controllers/BookingController.php - Booking validation
app/Services/BookingValidationService.php - Payment processing
app/Http/Controllers/PaymentController.php - Payment providers
- Booking screens
resources/views/bookings
Live tracking
- Location tracking
app/Http/Controllers/TrackingController.php - Tracking maps
resources/views/tracking
Accounts and operations
- Account management
app/Http/Controllers/Auth - Administration
app/Http/Controllers/Admin/AdminController.php
Domain data
- Domain records
app/Models - Configured database
config/database.php
Other components
- Traveler
- Tracking observer
Connections 20
- Traveler → Tour packages: browses
- Tour packages → Discovery screens: renders
- Traveler → Recommendations: requests picks
- Traveler → Activity feed: explores posts
- Activity feed → Feed screens: renders
- Traveler → Likes and ratings: engages
- Traveler → Booking lifecycle: books trek
- Booking lifecycle → Booking validation: validates
- Booking lifecycle → Booking screens: renders
- Booking lifecycle → Payment processing: redirects
- Payment processing → Payment providers: verifies or charges
- Traveler → Location tracking: shares location
- Tracking observer → Location tracking: enters PIN
- Location tracking → Tracking maps: renders
- Traveler → Account management: registers or signs in
- Administration → Domain records: manages records
- Booking lifecycle → Domain records: reads and writes
- Payment processing → Domain records: updates booking
- Location tracking → Domain records: reads and writes
- Domain records → Configured database: persists through