How hungnq2005/avora works
AVORA is a hotel marketplace and operations platform: travelers discover hotels, book rooms, pay (including group payments), and manage bookings; hotel vendors and administrators manage inventory, finances, policies, and customer operations. The graph shows documented UI routing and sampled service calls. Many feature directories are present in the tree, but their internal wiring was not sampled, so those branches are represented without speculative call chains.
Main entry points: App.jsx Web application · review.service.js Review rules · booking.controller.js Booking endpoints · auth.service.js Authentication service
Components 27
Traveler experience
- Web application
avora_project/frontend/src/App.jsx - Home discovery
avora_project/frontend/src/features/home/HomePage.jsx - Hotel search
avora_project/frontend/src/features/hotels/HotelSearchPage.jsx - Hotel details
avora_project/frontend/src/features/hotels/HotelDetailPage.jsx - Account
avora_project/frontend/src/features/account/pages/MyAccountPage.jsx - Favorites sync
avora_project/frontend/src/utils/favoritesStorage.js - Wishlist API
avora_project/frontend/src/services/wishlistApi.js - Review experience
avora_project/frontend/src/services/reviewApi.js - Review endpoints
avora_project/backend/src/features/review/review.controller.js - Review rules
avora_project/backend/src/features/review/review.service.js - Review API client
avora_project/frontend/src/services/reviewApi.js
Booking and payments
- Booking flow
avora_project/frontend/src/features/bookings/pages/BookingPage.jsx - Booking endpoints
avora_project/backend/src/features/bookings/booking.controller.js - Booking rules
avora_project/backend/src/features/bookings/booking.service.js - Payment screens
avora_project/frontend/src/features/payments/pages/PaymentQRScreen.jsx
Hotel operations
- Hotel management
avora_project/frontend/src/features/hotel_management/pages/hotelDetailPage.jsx - Hotel images
avora_project/frontend/src/features/hotel_management/components/hotelImageManager.jsx - Hotel management API
avora_project/frontend/src/services/hotelManagementService.js - Vendor bookings
avora_project/frontend/src/features/vendor_bookings/pages/VendorBookingPage.jsx - Vendor finance
avora_project/frontend/src/features/venueWallet/pages/VenueWalletPage.jsx
Identity and platform
- Session context
avora_project/frontend/src/context/AuthContext.jsx - Authentication client
avora_project/frontend/src/services/authService.js - Authentication service
avora_project/backend/src/features/auth/auth.service.js - Email delivery
avora_project/backend/src/common/services/email/email.service.js - Supabase database
avora_project/backend/src/config/supabaseClient.js - Audit logging
avora_project/backend/src/utils/auditLogger.js
Other components
- Traveler
Connections 17
- Traveler → Web application: uses
avora_project/frontend/src/App.jsx - Web application → Home discovery: routes to
avora_project/frontend/src/App.jsx - Web application → Hotel search: routes to
avora_project/frontend/src/App.jsx - Web application → Hotel details: routes to
avora_project/frontend/src/App.jsx - Web application → Account: routes to
avora_project/frontend/src/App.jsx - Web application → Payment screens: routes to
avora_project/frontend/src/App.jsx - Web application → Review experience: routes to
avora_project/frontend/src/App.jsx - Favorites sync → Wishlist API: syncs favorites
avora_project/frontend/src/utils/favoritesStorage.js - Hotel images → Hotel management API: uploads and edits
avora_project/frontend/src/features/hotel_management/components/hotelImageManager.jsx - Session context → Authentication client: uses
avora_project/frontend/src/context/AuthContext.jsx - Booking endpoints → Booking rules: invokes
avora_project/backend/src/features/bookings/booking.controller.js - Booking endpoints → Audit logging: records changes
avora_project/backend/src/features/bookings/booking.controller.js - Review endpoints → Review rules: invokes
avora_project/backend/src/features/review/review.controller.js - Review rules → Supabase database: reads and writes
avora_project/backend/src/features/review/review.service.js - Review rules → Email delivery: sends mail
avora_project/backend/src/features/review/review.service.js - Authentication service → Supabase database: reads and writes
avora_project/backend/src/features/auth/auth.service.js - Authentication service → Email delivery: sends mail
avora_project/backend/src/features/auth/auth.service.js