How purus003/online-hotel-booking-management-system-project works
This is the React client for an online hotel booking and management system. Customers can browse hotels and rooms, authenticate, and reach booking-related pages; admins and hotel managers have separate management routes. The sampled pages call a Spring-style REST backend at localhost:8080 for hotel, room, and user operations. The README also describes booking management, profiles, and notifications, but backend behavior and several page implementations were not sampled, so those details are not inferred here.
Main entry points: UserRouter.jsx Customer routes · AdminRouter.jsx Admin routes · HotelsList.jsx Hotel search · AllRooms.jsx Manager rooms
Components 27
Client navigation
- React app
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/App.jsx - Main routing
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/MainRoute.jsx - Customer routes
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx - Admin routes
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx - Manager routes
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/ManagerRouter.jsx
Customer experience
- Hotel search
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx - Hotel card
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/user/HotelCard.jsx - Home page
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HomePage.jsx - Room listings
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/RoomListPage.jsx - Room details
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/RoomDetailsPage.jsx - Booking form
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/user/BookingForm.jsx - Booking confirmation
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/BookingConfirmationPage.jsx
Authentication
- Login
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Login.jsx - Registration
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Signup.jsx - Logout
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/Logout.jsx
Hotel operations
- Hotel administration
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllHotels.jsx - Add hotel
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AddHotel.jsx - Edit hotel
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/EditHotel.jsx - Room administration
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllRooms.jsx - Admin bookings
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllBookings.jsx - User administration
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllUsers.jsx - Manager rooms
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx - Add room
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AddRoom.jsx - Edit room
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/EditRoom.jsx - Manager bookings
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllBookings.jsx
Other components
- Customer
- REST backend
Connections 29
- React app → Main routing: renders
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/App.jsx - Customer routes → Home page: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx - Customer routes → Hotel search: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx - Customer routes → Room listings: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx - Customer routes → Room details: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx - Customer routes → Booking confirmation: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx - Customer routes → Login: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx - Customer routes → Registration: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx - Customer routes → Logout: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx - Admin routes → Hotel administration: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx - Admin routes → Add hotel: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx - Admin routes → Edit hotel: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx - Admin routes → Room administration: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx - Admin routes → Admin bookings: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx - Admin routes → User administration: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx - Admin routes → Logout: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx - Manager routes → Manager rooms: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/ManagerRouter.jsx - Manager routes → Manager bookings: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/ManagerRouter.jsx - Manager routes → Logout: routes to
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/ManagerRouter.jsx - Hotel search → Hotel card: renders
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx - Hotel search → REST backend: fetches listings
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx - Hotel search → REST backend: fetches rooms
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx - Login → REST backend: submits credentials
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Login.jsx - Registration → REST backend: creates account
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Signup.jsx - Hotel administration → REST backend: reads hotels
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllHotels.jsx - Hotel administration → REST backend: deletes hotel
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllHotels.jsx - Manager rooms → REST backend: manages rooms
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx - Manager rooms → Add room: renders
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx - Manager rooms → Edit room: renders
OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx