# purus003/online-hotel-booking-management-system-project architecture

> Architecture diagram of the GitHub repository purus003/online-hotel-booking-management-system-project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/purus003/online-hotel-booking-management-system-project
- Repository: https://github.com/purus003/online-hotel-booking-management-system-project

## Overview

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: [`OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx`](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx) (Customer routes), [`OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx`](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx) (Admin routes), [`OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx`](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx) (Hotel search), [`OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx`](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx) (Manager rooms)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["Client navigation"]
  node_app["React app<br/>[App.jsx]"]
  node_mainroute["Main routing<br/>[MainRoute.jsx]"]
  node_userrouter["Customer routes<br/>[UserRouter.jsx]"]
  node_adminrouter["Admin routes<br/>[AdminRouter.jsx]"]
  node_managerrouter["Manager routes<br/>[ManagerRouter.jsx]"]
end

subgraph group_customer["Customer experience"]
  node_hotelbrowse["Hotel search<br/>[HotelsList.jsx]"]
  node_hotelcard["Hotel card<br/>[HotelCard.jsx]"]
  node_homepage["Home page<br/>[HomePage.jsx]"]
  node_roomlist["Room listings<br/>[RoomListPage.jsx]"]
  node_roomdetails["Room details"]
  node_bookingform["Booking form<br/>[BookingForm.jsx]"]
  node_bookingconfirm["Booking confirmation"]
end

subgraph group_identity["Authentication"]
  node_login["Login<br/>[Login.jsx]"]
  node_signup["Registration<br/>[Signup.jsx]"]
  node_logout["Logout<br/>[Logout.jsx]"]
end

subgraph group_operations["Hotel operations"]
  node_adminhotels["Hotel administration<br/>[AllHotels.jsx]"]
  node_adminhoteladd["Add hotel<br/>[AddHotel.jsx]"]
  node_adminhoteledit["Edit hotel<br/>[EditHotel.jsx]"]
  node_adminrooms["Room administration<br/>[AllRooms.jsx]"]
  node_adminbookings["Admin bookings<br/>[AllBookings.jsx]"]
  node_adminusers["User administration<br/>[AllUsers.jsx]"]
  node_managerrooms["Manager rooms<br/>[AllRooms.jsx]"]
  node_manageraddroom["Add room<br/>[AddRoom.jsx]"]
  node_managereditroom["Edit room<br/>[EditRoom.jsx]"]
  node_managerbookings["Manager bookings<br/>[AllBookings.jsx]"]
end

node_customer(("Customer"))
node_backend{{"REST backend"}}

node_app -->|"renders"| node_mainroute
node_userrouter -->|"routes to"| node_homepage
node_userrouter -->|"routes to"| node_hotelbrowse
node_userrouter -->|"routes to"| node_roomlist
node_userrouter -->|"routes to"| node_roomdetails
node_userrouter -->|"routes to"| node_bookingconfirm
node_userrouter -->|"routes to"| node_login
node_userrouter -->|"routes to"| node_signup
node_userrouter -->|"routes to"| node_logout
node_adminrouter -->|"routes to"| node_adminhotels
node_adminrouter -->|"routes to"| node_adminhoteladd
node_adminrouter -->|"routes to"| node_adminhoteledit
node_adminrouter -->|"routes to"| node_adminrooms
node_adminrouter -->|"routes to"| node_adminbookings
node_adminrouter -->|"routes to"| node_adminusers
node_adminrouter -->|"routes to"| node_logout
node_managerrouter -->|"routes to"| node_managerrooms
node_managerrouter -->|"routes to"| node_managerbookings
node_managerrouter -->|"routes to"| node_logout
node_hotelbrowse -->|"renders"| node_hotelcard
node_hotelbrowse -->|"fetches listings"| node_backend
node_hotelbrowse -->|"fetches rooms"| node_backend
node_login -->|"submits credentials"| node_backend
node_signup -->|"creates account"| node_backend
node_adminhotels -->|"reads hotels"| node_backend
node_adminhotels -->|"deletes hotel"| node_backend
node_managerrooms -->|"manages rooms"| node_backend
node_managerrooms -->|"renders"| node_manageraddroom
node_managerrooms -->|"renders"| node_managereditroom

click node_app "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/App.jsx"
click node_mainroute "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/MainRoute.jsx"
click node_userrouter "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx"
click node_adminrouter "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx"
click node_managerrouter "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/ManagerRouter.jsx"
click node_hotelbrowse "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx"
click node_hotelcard "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/user/HotelCard.jsx"
click node_homepage "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HomePage.jsx"
click node_roomlist "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/RoomListPage.jsx"
click node_roomdetails "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/RoomDetailsPage.jsx"
click node_bookingform "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/user/BookingForm.jsx"
click node_bookingconfirm "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/BookingConfirmationPage.jsx"
click node_login "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Login.jsx"
click node_signup "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Signup.jsx"
click node_logout "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/Logout.jsx"
click node_adminhotels "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllHotels.jsx"
click node_adminhoteladd "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AddHotel.jsx"
click node_adminhoteledit "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/EditHotel.jsx"
click node_adminrooms "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllRooms.jsx"
click node_adminbookings "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllBookings.jsx"
click node_adminusers "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllUsers.jsx"
click node_managerrooms "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx"
click node_manageraddroom "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AddRoom.jsx"
click node_managereditroom "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/EditRoom.jsx"
click node_managerbookings "https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllBookings.jsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_mainroute,node_userrouter,node_adminrouter,node_managerrouter toneBlue
class node_hotelbrowse,node_hotelcard,node_homepage,node_roomlist,node_roomdetails,node_bookingform,node_bookingconfirm toneAmber
class node_login,node_signup,node_logout toneMint
class node_adminhotels,node_adminhoteladd,node_adminhoteledit,node_adminrooms,node_adminbookings,node_adminusers,node_managerrooms,node_manageraddroom,node_managereditroom,node_managerbookings toneRose
class node_customer,node_backend toneIndigo
```

## Components

### Client navigation

- [React app](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/App.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/App.jsx`
- [Main routing](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/MainRoute.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/MainRoute.jsx`
- [Customer routes](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx`
- [Admin routes](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx`
- [Manager routes](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/ManagerRouter.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/ManagerRouter.jsx`

### Customer experience

- [Hotel search](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx`
- [Hotel card](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/user/HotelCard.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/user/HotelCard.jsx`
- [Home page](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HomePage.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HomePage.jsx`
- [Room listings](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/RoomListPage.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/RoomListPage.jsx`
- [Room details](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/RoomDetailsPage.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/RoomDetailsPage.jsx`
- [Booking form](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/user/BookingForm.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/user/BookingForm.jsx`
- [Booking confirmation](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/BookingConfirmationPage.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/BookingConfirmationPage.jsx`

### Authentication

- [Login](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Login.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Login.jsx`
- [Registration](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Signup.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Signup.jsx`
- [Logout](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/Logout.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/components/Logout.jsx`

### Hotel operations

- [Hotel administration](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllHotels.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllHotels.jsx`
- [Add hotel](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AddHotel.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AddHotel.jsx`
- [Edit hotel](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/EditHotel.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/EditHotel.jsx`
- [Room administration](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllRooms.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllRooms.jsx`
- [Admin bookings](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllBookings.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllBookings.jsx`
- [User administration](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllUsers.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllUsers.jsx`
- [Manager rooms](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx`
- [Add room](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AddRoom.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AddRoom.jsx`
- [Edit room](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/EditRoom.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/EditRoom.jsx`
- [Manager bookings](https://github.com/purus003/online-hotel-booking-management-system-project/blob/main/OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllBookings.jsx): `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllBookings.jsx`

### Other components

- **Customer**
- **REST backend**

## Connections

- React app → Main routing: renders (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/App.jsx`)
- Customer routes → Home page: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx`)
- Customer routes → Hotel search: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx`)
- Customer routes → Room listings: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx`)
- Customer routes → Room details: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx`)
- Customer routes → Booking confirmation: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx`)
- Customer routes → Login: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx`)
- Customer routes → Registration: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx`)
- Customer routes → Logout: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/UserRouter.jsx`)
- Admin routes → Hotel administration: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx`)
- Admin routes → Add hotel: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx`)
- Admin routes → Edit hotel: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx`)
- Admin routes → Room administration: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx`)
- Admin routes → Admin bookings: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx`)
- Admin routes → User administration: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx`)
- Admin routes → Logout: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/AdminRouter.jsx`)
- Manager routes → Manager rooms: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/ManagerRouter.jsx`)
- Manager routes → Manager bookings: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/ManagerRouter.jsx`)
- Manager routes → Logout: routes to (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/routes/ManagerRouter.jsx`)
- Hotel search → Hotel card: renders (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx`)
- Hotel search → REST backend: fetches listings (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx`)
- Hotel search → REST backend: fetches rooms (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/user/HotelsList.jsx`)
- Login → REST backend: submits credentials (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Login.jsx`)
- Registration → REST backend: creates account (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/auth/Signup.jsx`)
- Hotel administration → REST backend: reads hotels (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllHotels.jsx`)
- Hotel administration → REST backend: deletes hotel (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/admin/AllHotels.jsx`)
- Manager rooms → REST backend: manages rooms (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx`)
- Manager rooms → Add room: renders (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx`)
- Manager rooms → Edit room: renders (evidence: `OnlineHotelManagementSystem-FrontEndwithReact-master/OnlineHotelManagementSystem-FrontEndwithReact-master/src/pages/manager/AllRooms.jsx`)
