How galihsidik86/travel works
Religio Pro is a server-rendered management system for Indonesian umrah and haji agencies. Its main journey connects public package discovery and agent attribution to booking, payment, and operational fulfillment; jemaah and crew portals support travelers and trip staff, while administrators manage operations and finance. Express mounts HTTP adapters, with business logic organized in services and Prisma-backed persistence. Notifications and scheduled jobs extend the workflow. The README documents these capabilities; sampled source confirms app mounting, notification-worker startup, and webhook handling, but not all route-to-service wiring.
Main entry points: app.js HTTP application · server.js Express server · paymentGateway.js Payment logic · inboundWebhooks.js Webhook endpoints
Components 27
Web application
- Express server
src/server.js - HTTP application
src/app.js
Sales and booking
- Public packages
src/routes/paket.js - Agent CRM
src/routes/agen.js - Lead management
src/services/leads.js - Booking endpoints
src/routes/booking.js - Booking logic
src/services/booking.js
Trip operations
- Jemaah portal
src/routes/jemaahPortal.js - Document handling
src/services/jemaahDocs.js - Crew portal
src/routes/crew.js - Admin operations
src/routes/admin.js
Finance and platform
- Payment endpoints
src/routes/paymentGateway.js - Payment logic
src/services/paymentGateway.js - Prisma database
src/lib/db.js - Notification services
src/services/notifications.js - Notification worker
src/lib/notifWorker.js - WA and email
src/lib/notifBootstrap.js - Scheduled operations
src/jobs - Webhook endpoints
src/routes/inboundWebhooks.js - Webhook processing
src/services/inboundWebhooks.js - Outbound webhooks
src/services/webhooks.js
Other components
- Jemaah
- Travel agent
- Muthawwif
- Agency staff
- Partner systems
- Midtrans gateway
Connections 28
- Jemaah → HTTP application: requests pages
- Travel agent → HTTP application: uses portal
- Muthawwif → HTTP application: uses portal
- Agency staff → HTTP application: manages agency
- HTTP application → Public packages: mounts routes
- HTTP application → Agent CRM: mounts routes
- HTTP application → Booking endpoints: mounts routes
- HTTP application → Jemaah portal: mounts routes
- HTTP application → Crew portal: mounts routes
- HTTP application → Admin operations: mounts routes
- HTTP application → Payment endpoints: mounts routes
- HTTP application → Webhook endpoints: mounts routes
- Agent CRM → Lead management: manages leads
- Booking endpoints → Booking logic: handles bookings
- Jemaah portal → Document handling: tracks documents
- Payment endpoints → Payment logic: handles payments
- Payment logic → Midtrans gateway: requests payment
- Express server → HTTP application: creates app
- Express server → Notification worker: starts worker
- Notification worker → Notification services: processes queue
- Express server → WA and email: bootstraps senders
- Scheduled operations → Notification services: queues notices
- Webhook endpoints → Webhook processing: receives events
- Partner systems → Webhook endpoints: posts events
- Webhook processing → Prisma database: records events
- Outbound webhooks → Partner systems: delivers events
- Booking logic → Prisma database: persists bookings
- Payment logic → Prisma database: records payments