Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchoolSubjectClassApp
Please create a React-JS application for the SchoolSubjectClassModule. The application has to offer the following views for the user interface: 1. SchoolSubjectClassView 2. TestView 3. TestResultView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The SchoolSubjectClassView must contain the following fields: - name: SchoolSubject type: SchoolSubject - name: SchoolClass type: SchoolClass The data source for the [SchoolSubject] select control should be loaded from the relative URL: "/SchoolSubjectService/schoolsubject" (HTTP-GET) The data source for the [SchoolClass] select control should be loaded from the relative URL: "/SchoolYearService/schoolclass" (HTTP-GET) An existing SchoolSubjectClass entity should be loaded from the relative URL: "/SchoolSubjectClassService/schoolsubjectclass/{id}" (HTTP-GET) If a new SchoolSubjectClass entity has been created, the new entity should be posted to the relative URL: "/SchoolSubjectClassService/schoolsubjectclass" (HTTP-POST) If an existing SchoolSubjectClass entity has been updated, the modified entity should be sent to the relative URL: "/SchoolSubjectClassService/schoolsubjectclass/{id}" (HTTP-PUT) If an existing SchoolSubjectClass entity has to be deleted, the following relative URL should be called: "/SchoolSubjectClassService/schoolsubjectclass/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Test columns: - column: TestDate - column: SchoolSubjectClass The table should have the title "Tests" und the data must be loaded from the server with the following relative URL: "/SchoolSubjectClassService/test/schoolsubjectclass/{id}" 2. The TestView must contain the following fields: - name: TestDate type: DATE - name: SchoolSubjectClass type: SchoolSubjectClass The data source for the [SchoolSubjectClass] select control should be loaded from the relative URL: "/SchoolSubjectClassService/schoolsubjectclass" (HTTP-GET) An existing Test entity should be loaded from the relative URL: "/SchoolSubjectClassService/test/{id}" (HTTP-GET) If a new Test entity has been created, the new entity should be posted to the relative URL: "/SchoolSubjectClassService/test" (HTTP-POST) If an existing Test entity has been updated, the modified entity should be sent to the relative URL: "/SchoolSubjectClassService/test/{id}" (HTTP-PUT) If an existing Test entity has to be deleted, the following relative URL should be called: "/SchoolSubjectClassService/test/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TestResult columns: - column: Test - column: Grade - column: Student The table should have the title "TestResults" und the data must be loaded from the server with the following relative URL: "/SchoolSubjectClassService/testresult/test/{id}" 3. The TestResultView must contain the following fields: - name: Grade type: INT - name: Student type: Student - name: Test type: Test The data source for the [Test] select control should be loaded from the relative URL: "/SchoolSubjectClassService/test" (HTTP-GET) The data source for the [Student] select control should be loaded from the relative URL: "/StudentService/student" (HTTP-GET) An existing TestResult entity should be loaded from the relative URL: "/SchoolSubjectClassService/testresult/{id}" (HTTP-GET) If a new TestResult entity has been created, the new entity should be posted to the relative URL: "/SchoolSubjectClassService/testresult" (HTTP-POST) If an existing TestResult entity has been updated, the modified entity should be sent to the relative URL: "/SchoolSubjectClassService/testresult/{id}" (HTTP-PUT) If an existing TestResult entity has to be deleted, the following relative URL should be called: "/SchoolSubjectClassService/testresult/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum