How amatussalaam/travelbharat-frontend works
TravelBharat is a travel-discovery and booking website with destination pages, account-related pages, and contact and feedback features. The visible client script routes users to authentication or booking, checks login state before booking, and sends account-deletion, contact, and feedback requests to a remote backend. Destination and other page roles are inferred from filenames; their markup and wiring were not provided, so their connections are not asserted.
Main entry points: script.js Client interactions · auth.html Authentication · booking.html Booking
Components 21
Travel discovery
Account and booking
- Authentication
auth.html - Booking
booking.html
Site interactions
- Client interactions
script.js - Contact page
contact.html
Other components
- TravelBharat backend
- Visitor
Connections 5
- Client interactions → Authentication: redirects to
script.js - Client interactions → Booking: redirects to
script.js - Client interactions → TravelBharat backend: deletes account
script.js - Client interactions → TravelBharat backend: posts contact
script.js - Client interactions → TravelBharat backend: posts feedback
script.js