Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RoomApp
Please create a React-JS application for the RoomModule. The application has to offer the following views for the user interface: 1. EquipmentView 2. EquipmentRepairView 3. EquipmentTypeView 4. RoomView 5. RoomTypeView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The EquipmentView must contain the following fields: - name: EquipmentType type: EquipmentType - name: Price type: DOUBLE - name: Room type: Room The data source for the [EquipmentType] select control should be loaded from the relative URL: "/RoomService/equipmenttype" (HTTP-GET) The data source for the [Room] select control should be loaded from the relative URL: "/RoomService/room" (HTTP-GET) An existing Equipment entity should be loaded from the relative URL: "/RoomService/equipment/{id}" (HTTP-GET) If a new Equipment entity has been created, the new entity should be posted to the relative URL: "/RoomService/equipment" (HTTP-POST) If an existing Equipment entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/equipment/{id}" (HTTP-PUT) If an existing Equipment entity has to be deleted, the following relative URL should be called: "/RoomService/equipment/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EquipmentRepair columns: - column: Repair - column: RepairResult - column: Price - column: Equipment - column: Comments The table should have the title "EquipmentRepairs" und the data must be loaded from the server with the following relative URL: "/RoomService/equipmentrepair/equipment/{id}" 2. The EquipmentRepairView must contain the following fields: - name: Equipment type: Equipment - name: Comments type: STRING - name: Price type: DOUBLE - name: RepairResult type: STRING - name: Repair type: Repair The data source for the [Equipment] select control should be loaded from the relative URL: "/RoomService/equipment" (HTTP-GET) The data source for the [Repair] select control should be loaded from the relative URL: "/CompanyService/repair" (HTTP-GET) An existing EquipmentRepair entity should be loaded from the relative URL: "/RoomService/equipmentrepair/{id}" (HTTP-GET) If a new EquipmentRepair entity has been created, the new entity should be posted to the relative URL: "/RoomService/equipmentrepair" (HTTP-POST) If an existing EquipmentRepair entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/equipmentrepair/{id}" (HTTP-PUT) If an existing EquipmentRepair entity has to be deleted, the following relative URL should be called: "/RoomService/equipmentrepair/{id}" (HTTP-DELETE) 3. The EquipmentTypeView must contain the following fields: - name: Description type: STRING - name: Details type: STRING An existing EquipmentType entity should be loaded from the relative URL: "/RoomService/equipmenttype/{id}" (HTTP-GET) If a new EquipmentType entity has been created, the new entity should be posted to the relative URL: "/RoomService/equipmenttype" (HTTP-POST) If an existing EquipmentType entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/equipmenttype/{id}" (HTTP-PUT) If an existing EquipmentType entity has to be deleted, the following relative URL should be called: "/RoomService/equipmenttype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Equipment columns: - column: Price - column: Room - column: EquipmentType The table should have the title "Equipments" und the data must be loaded from the server with the following relative URL: "/RoomService/equipment/equipmenttype/{id}" 4. The RoomView must contain the following fields: - name: HandicappedAccessible type: BOOL - name: RoomName type: STRING - name: Building type: Building - name: Comments type: STRING - name: RoomType type: RoomType The data source for the [Building] select control should be loaded from the relative URL: "/SchoolService/building" (HTTP-GET) The data source for the [RoomType] select control should be loaded from the relative URL: "/RoomService/roomtype" (HTTP-GET) An existing Room entity should be loaded from the relative URL: "/RoomService/room/{id}" (HTTP-GET) If a new Room entity has been created, the new entity should be posted to the relative URL: "/RoomService/room" (HTTP-POST) If an existing Room entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/room/{id}" (HTTP-PUT) If an existing Room entity has to be deleted, the following relative URL should be called: "/RoomService/room/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Conference columns: - column: ToDate - column: Room - column: FromDate - column: ConferenceType The table should have the title "Conferences" und the data must be loaded from the server with the following relative URL: "/ConferenceService/conference/room/{id}" Add a HTML table to the view with the following Equipment columns: - column: Price - column: Room - column: EquipmentType The table should have the title "Equipments" und the data must be loaded from the server with the following relative URL: "/RoomService/equipment/room/{id}" Add a HTML table to the view with the following Canteen columns: - column: CanteenName - column: Room The table should have the title "Canteens" und the data must be loaded from the server with the following relative URL: "/CanteenService/canteen/room/{id}" Add a HTML table to the view with the following ProjectAppointment columns: - column: Content - column: ToDate - column: Room - column: FromDate - column: Project - column: Description - column: ProjectOrganizer The table should have the title "ProjectAppointments" und the data must be loaded from the server with the following relative URL: "/StudentService/projectappointment/room/{id}" Add a HTML table to the view with the following Library columns: - column: Room - column: LibraryName The table should have the title "Librarys" und the data must be loaded from the server with the following relative URL: "/LibraryService/library/room/{id}" Add a HTML table to the view with the following TeachingUnit columns: - column: RowIndex - column: SchoolSubject - column: Room - column: SchoolYear - column: CourseGroup - column: SchoolClass - column: ColumnIndex - column: Teacher The table should have the title "TeachingUnits" und the data must be loaded from the server with the following relative URL: "/SchoolYearService/teachingunit/room/{id}" Add a HTML table to the view with the following SchoolClass columns: - column: Teacher - column: AgeGroup - column: Room - column: SchoolYear - column: ClassName - column: School The table should have the title "SchoolClasss" und the data must be loaded from the server with the following relative URL: "/SchoolYearService/schoolclass/room/{id}" 5. The RoomTypeView must contain the following fields: - name: Description type: STRING - name: TypeName type: STRING An existing RoomType entity should be loaded from the relative URL: "/RoomService/roomtype/{id}" (HTTP-GET) If a new RoomType entity has been created, the new entity should be posted to the relative URL: "/RoomService/roomtype" (HTTP-POST) If an existing RoomType entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/roomtype/{id}" (HTTP-PUT) If an existing RoomType entity has to be deleted, the following relative URL should be called: "/RoomService/roomtype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Room columns: - column: HandicappedAccessible - column: Building - column: Comments - column: RoomType - column: RoomName The table should have the title "Rooms" und the data must be loaded from the server with the following relative URL: "/RoomService/room/roomtype/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum