How kothakula-sagar/munner-trip works
Munnar Trip is a private group-trip web app. Members sign in, then use its tabbed interface for shared trip planning, expenses, chat, media, polls, notifications, and settlement tracking; administrators also manage members and approve group expenses. Feature modules read and write shared Firebase data, while authentication loads each member’s profile and role. The README documents member creation through a Cloud Function. Some capability modules were indexed but not excerpted, so their internal calls are not inferred here.
Main entry points: app.js Tab and auth routing · notification-service.js Notification service · admin.js Member administration · dashboard.js Trip dashboard
Components 17
Access and navigation
- Tab and auth routing
app.js - Sign-in and profiles
auth.js - Member administration
admin.js - Create member account
functions/index.js
Trip coordination
- Trip dashboard
dashboard.js - Itinerary planner
planner.js - Photo and video gallery
media.js - Group polls
polls.js
Shared finances
- Expense approval and split
expenses.js - Settlement tracking
settlements.js
Group communication
- Group and direct chat
chat.js - Notification center
notification-center.js - Notification service
notification-service.js - Avatar renderer
avatar.js
Application services
- Firebase configuration
firebase-config.js - Firebase Auth and Firestore
Other components
- Trip member
Connections 28
- Trip member → Tab and auth routing: uses
README.md - Tab and auth routing → Sign-in and profiles: handles sign-in
app.js - Tab and auth routing → Member administration: routes to
app.js - Tab and auth routing → Trip dashboard: routes to
app.js - Tab and auth routing → Itinerary planner: routes to
app.js - Tab and auth routing → Photo and video gallery: routes to
app.js - Tab and auth routing → Group and direct chat: routes to
app.js - Tab and auth routing → Expense approval and split: routes to
app.js - Tab and auth routing → Settlement tracking: routes to
app.js - Tab and auth routing → Notification center: routes to
app.js - Member administration → Create member account: requests account creation
README.md - Sign-in and profiles → Firebase Auth and Firestore: authenticates and loads profiles
auth.js - Member administration → Firebase Auth and Firestore: manages member records
admin.js - Expense approval and split → Firebase Auth and Firestore: reads and updates expenses
expenses.js - Itinerary planner → Firebase Auth and Firestore: reads and writes itinerary
planner.js - Group and direct chat → Firebase Auth and Firestore: reads and writes messages
chat.js - Trip dashboard → Firebase Auth and Firestore: subscribes to trip data
dashboard.js - Settlement tracking → Firebase Auth and Firestore: records settlement data
settlements.js - Notification service → Firebase Auth and Firestore: stores and subscribes
notification-service.js - Tab and auth routing → Notification service: subscribes unread count
app.js - Notification center → Notification service: loads and marks notifications
notification-center.js - Expense approval and split → Notification service: sends approval alerts
expenses.js - Itinerary planner → Notification service: sends planner alerts
planner.js - Member administration → Notification service: sends member alerts
admin.js - Group and direct chat → Avatar renderer: renders avatars
chat.js - Trip dashboard → Avatar renderer: renders avatars
dashboard.js - Settlement tracking → Avatar renderer: renders avatars
settlements.js - Firebase configuration → Firebase Auth and Firestore: initializes clients
firebase-config.js