How soemyinttun/kmitl-projects works
This is a browser-based travel-operations app for managing travel customers, package bookings, visa/passport cases, air tickets, schedules, and business analytics. Users enter through the routed app and work in service-specific screens; shared state loads local records and applies date, service, and destination filters for reporting. The app also offers trip-calendar exports and geographic demand views. The README is empty, so capability coverage is based on the source index and sampled screens; some unsampled screen behavior and wiring are not shown.
Main entry points: App.tsx App routes · db.ts Local database · state.tsx App state · Bookings.tsx Bookings
Components 20
App and navigation
- App entry
app/src/main.tsx - App routes
app/src/App.tsx
Travel operations
- Bookings
app/src/pages/Bookings.tsx - Customers
app/src/pages/Customers.tsx - Travel packages
app/src/pages/Packages.tsx - Visa and passport
app/src/pages/Pipeline.tsx - Air tickets
app/src/pages/Tickets.tsx - Trips and schedule
app/src/pages/Trips.tsx - Settings
app/src/pages/Settings.tsx
Reporting and insights
- Overview
app/src/pages/Overview.tsx - Revenue
app/src/pages/Revenue.tsx - Demand heatmaps
app/src/pages/Heatmaps.tsx
Shared state and storage
- Sales analytics
app/src/analytics.ts - App state
app/src/state.tsx - Local database
app/src/db.ts - Demo data seeding
app/src/seed.ts - Calendar export
app/src/ics.ts - Customer selector
app/src/components/CustomerSelect.tsx - Shared UI and charts
app/src/components/ui.tsx
Other components
- Browser user
Connections 34
- Browser user → App entry: opens app
- App entry → App routes: renders
app/src/main.tsx - App routes → App state: reads shared state
app/src/App.tsx - App routes → Overview: routes to
app/src/App.tsx - App routes → Revenue: routes to
app/src/App.tsx - App routes → Travel packages: routes to
app/src/App.tsx - App routes → Visa and passport: routes to
app/src/App.tsx - App routes → Air tickets: routes to
app/src/App.tsx - App routes → Trips and schedule: routes to
app/src/App.tsx - App routes → Demand heatmaps: routes to
app/src/App.tsx - App routes → Bookings: routes to
app/src/App.tsx - App routes → Customers: routes to
app/src/App.tsx - App routes → Settings: routes to
app/src/App.tsx - App state → Local database: loads records
app/src/state.tsx - App state → Demo data seeding: initializes data
app/src/state.tsx - App state → Sales analytics: builds sales
app/src/state.tsx - Demo data seeding → Local database: writes demo data
app/src/seed.ts - Overview → App state: reads metrics
app/src/pages/Overview.tsx - Revenue → App state: reads metrics
app/src/pages/Revenue.tsx - Demand heatmaps → App state: reads bookings
app/src/pages/Heatmaps.tsx - Demand heatmaps → Sales analytics: uses date ranges
app/src/pages/Heatmaps.tsx - Travel packages → Local database: updates packages
app/src/pages/Packages.tsx - Bookings → Local database: manages bookings
app/src/pages/Bookings.tsx - Customers → Local database: manages customers
app/src/pages/Customers.tsx - Visa and passport → Local database: updates cases
app/src/pages/Pipeline.tsx - Air tickets → Local database: manages tickets
app/src/pages/Tickets.tsx - Settings → Local database: configures data
app/src/pages/Settings.tsx - Trips and schedule → Calendar export: formats exports
app/src/pages/Trips.tsx - Visa and passport → Customer selector: selects customer
app/src/pages/Pipeline.tsx - Air tickets → Customer selector: selects customer
app/src/pages/Tickets.tsx - Bookings → Customer selector: selects customer
app/src/pages/Bookings.tsx - Bookings → Shared UI and charts: renders controls
app/src/pages/Bookings.tsx - Trips and schedule → Shared UI and charts: renders calendar
app/src/pages/Trips.tsx - Demand heatmaps → Shared UI and charts: renders charts
app/src/pages/Heatmaps.tsx