How fahmida47/tripmesh works
TripMesh is a tourism marketplace for tourists and local guides. Its principal workflow is discovering guides and tour offerings, sending a travel or service request, having a guide accept it into a booking, then handling payment and reviews. The React app presents public discovery and role-specific dashboards; Laravel exposes API controllers backed by domain services and Eloquent models. The README also describes profiles, ratings, and booking capabilities. Some frontend-to-API connections are not shown in the sampled source, so those links are omitted.
Main entry points: App.jsx React app routing · TravelRequestController.php Travel requests · Booking.php Bookings · TouristDashboard Tourist dashboard
Components 21
Web experience
- React app routing
frontend/src/App.jsx - Explore tours
frontend/src/pages/Explore/Explore.jsx - Tourist dashboard
frontend/src/pages/TouristDashboard - Guide dashboard
frontend/src/pages/GuideDashboard
Accounts and profiles
- Authentication
backend/app/Http/Controllers/AuthController.php - Tourist and guide profiles
backend/app/Models/Guide/GuideProfile.php
Marketplace workflow
- Guide tour offerings
backend/app/Http/Controllers/Guide/TourServiceController.php - Travel requests
backend/app/Http/Controllers/TravelRequestController.php - Request processing
backend/app/Services/TravelRequestService.php - Service request
backend/app/Models/ServiceRequest.php - Bookings
backend/app/Models/Booking.php - Payments and payouts
backend/app/Http/Controllers/PaymentController.php
Trust and operations
- Review screens
frontend/src/pages/TouristDashboard/Reviews/ReviewForm.jsx - Review endpoints
backend/app/Http/Controllers/ReviewController.php - Review rules
backend/app/Services/ReviewService.php - Reviews
backend/app/Models/Review.php - Chat
frontend/src/pages/Chat/ChatBox.jsx - Notifications
backend/app/Http/Controllers/NotificationController.php - Administration
backend/app/Http/Controllers/AdminController.php
Other components
- Tourist
- Local guide
Connections 23
- Tourist → React app routing: uses
README.md - Local guide → React app routing: uses
README.md - React app routing → Explore tours: routes to
frontend/src/App.jsx - React app routing → Tourist dashboard: routes to
frontend/src/App.jsx - React app routing → Guide dashboard: routes to
frontend/src/App.jsx - React app routing → Review screens: routes to
frontend/src/App.jsx - React app routing → Chat: routes to
frontend/src/App.jsx - Explore tours → Guide tour offerings: browses
- Tourist dashboard → Travel requests: submits requests
- Guide dashboard → Travel requests: manages requests
- Travel requests → Request processing: delegates to
backend/app/Http/Controllers/TravelRequestController.php - Travel requests → Service request: creates
backend/app/Http/Controllers/TravelRequestController.php - Travel requests → Bookings: creates
backend/app/Http/Controllers/TravelRequestController.php - Service request → Bookings: has booking
backend/app/Models/ServiceRequest.php - Bookings → Payments and payouts: has payment
backend/app/Models/Booking.php - Tourist dashboard → Payments and payouts: manages payments
- Review screens → Review endpoints: submits reviews
- Review endpoints → Review rules: delegates to
backend/app/Http/Controllers/ReviewController.php - Review rules → Bookings: checks eligibility
backend/app/Services/ReviewService.php - Review rules → Reviews: creates and reads
backend/app/Services/ReviewService.php - Bookings → Reviews: has review
backend/app/Models/Booking.php - Administration → Payments and payouts: oversees
backend/app/Http/Controllers/AdminController.php - Administration → Reviews: moderates
backend/app/Http/Controllers/AdminController.php