Skip to content

Rooms: UI for Managing Hotel Rooms #5

@cliffdoyle

Description

@cliffdoyle

Build the user interface for staff to manage all rooms in the hotel. This UI will consume the API from issue #4.

Frontend Tasks:

  • Create a RoomsPage.jsx under a new /settings/rooms route.
  • Fetch and display all rooms from GET /api/rooms in a table.
  • Create a "New Room" button that opens a modal with a form to add a room (POST /api/rooms).
  • Add "Edit" and "Delete" buttons to each row in the table, which trigger the respective PUT and DELETE API calls.
  • Ensure the UI updates automatically after a room is added, edited, or deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions