Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TeacherBoardApp
Please create a React-JS application for the TeacherBoardModule. The application has to offer the following views for the user interface: 1. TeacherBoardView 2. TeacherBoardMemberView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The TeacherBoardView must contain the following fields: - name: School type: School - name: SchoolYear type: SchoolYear The data source for the [School] select control should be loaded from the relative URL: "/SchoolService/school" (HTTP-GET) The data source for the [SchoolYear] select control should be loaded from the relative URL: "/SchoolYearService/schoolyear" (HTTP-GET) An existing TeacherBoard entity should be loaded from the relative URL: "/TeacherBoardService/teacherboard/{id}" (HTTP-GET) If a new TeacherBoard entity has been created, the new entity should be posted to the relative URL: "/TeacherBoardService/teacherboard" (HTTP-POST) If an existing TeacherBoard entity has been updated, the modified entity should be sent to the relative URL: "/TeacherBoardService/teacherboard/{id}" (HTTP-PUT) If an existing TeacherBoard entity has to be deleted, the following relative URL should be called: "/TeacherBoardService/teacherboard/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TeacherBoardMember columns: - column: Teacher - column: TeacherBoard The table should have the title "TeacherBoardMembers" und the data must be loaded from the server with the following relative URL: "/TeacherBoardService/teacherboardmember/teacherboard/{id}" 2. The TeacherBoardMemberView must contain the following fields: - name: Teacher type: Teacher - name: TeacherBoard type: TeacherBoard The data source for the [Teacher] select control should be loaded from the relative URL: "/StudentService/teacher" (HTTP-GET) The data source for the [TeacherBoard] select control should be loaded from the relative URL: "/TeacherBoardService/teacherboard" (HTTP-GET) An existing TeacherBoardMember entity should be loaded from the relative URL: "/TeacherBoardService/teacherboardmember/{id}" (HTTP-GET) If a new TeacherBoardMember entity has been created, the new entity should be posted to the relative URL: "/TeacherBoardService/teacherboardmember" (HTTP-POST) If an existing TeacherBoardMember entity has been updated, the modified entity should be sent to the relative URL: "/TeacherBoardService/teacherboardmember/{id}" (HTTP-PUT) If an existing TeacherBoardMember entity has to be deleted, the following relative URL should be called: "/TeacherBoardService/teacherboardmember/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum