How ardika000/barengin-app works
Barengin is a social travel app for booking guided trips, organizing casual outings, arranging personal shopping, and connecting through forums and chat. The main user journey runs from the React/Inertia interface through Laravel routes and feature controllers, which manage domain records and return page data or results. The graph retains the distinct trip, outing, and jastip stages, plus social, payment, and administration capabilities documented in the README. Most feature wiring is inferred from the route/controller structure and README; only chat dispatch and review persistence are visible in sampled source.
Main entry points: web.php Web routes · Models Domain records · MidtransController.php Payment handling · ChatController.php Chat
Components 22
Travel and commerce
- Trip Bareng
app/Http/Controllers/TripsController.php - Pergi Bareng
app/Http/Controllers/PergiBarengController.php - Jastip orders
app/Http/Controllers/JastipController.php - Jastip requests
app/Http/Controllers/JastipRequestController.php - Payment handling
app/Http/Controllers/MidtransController.php - Wallet and bills
app/Http/Controllers/WalletController.php
Community and chat
- Forum
app/Http/Controllers/ForumController.php - Post interactions
app/Http/Controllers/PostController.php - Chat
app/Http/Controllers/Chat/ChatController.php - Group conversations
app/Http/Controllers/Chat/ChatConversationController.php - Message broadcast
app/Events/MessageSent.php - Ratings and reviews
app/Http/Controllers/ReviewController.php
Application platform
- React pages
resources/js/Pages - Web routes
routes/web.php - Authentication
app/Http/Controllers/Auth/AuthController.php - Profile and history
app/Http/Controllers/ProfileHistoryController.php - Domain records
app/Models
Administration
- Admin tools
app/Http/Controllers/AdminDashboardController.php - Admin management
app/Http/Controllers - Scheduled tasks
app/Console/Commands
Other components
- Traveler
- Midtrans
Connections 33
- Traveler → React pages: uses
- React pages → Web routes: requests
- Web routes → Authentication: dispatches
- Web routes → Trip Bareng: dispatches
- Web routes → Pergi Bareng: dispatches
- Web routes → Jastip orders: dispatches
- Web routes → Jastip requests: dispatches
- Web routes → Payment handling: dispatches
- Web routes → Wallet and bills: dispatches
- Web routes → Forum: dispatches
- Web routes → Post interactions: dispatches
- Web routes → Chat: dispatches
- Web routes → Group conversations: dispatches
- Web routes → Ratings and reviews: dispatches
- Web routes → Profile and history: dispatches
- Web routes → Admin tools: dispatches
- Trip Bareng → Domain records: reads/writes
- Pergi Bareng → Domain records: reads/writes
- Jastip orders → Domain records: reads/writes
- Jastip requests → Domain records: reads/writes
- Payment handling → Domain records: reads/writes
- Wallet and bills → Domain records: reads/writes
- Forum → Domain records: reads/writes
- Post interactions → Domain records: reads/writes
- Chat → Domain records: reads/writes
- Group conversations → Domain records: reads/writes
- Chat → Message broadcast: broadcasts
- Ratings and reviews → Domain records: writes ratings
- Profile and history → Domain records: reads/writes
- Payment handling → Midtrans: processes payments
- Admin tools → Domain records: reads/writes
- Admin management → Domain records: manages records
- Scheduled tasks → Domain records: updates status