Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AgeGroupApp
Please create a React-JS application for the AgeGroupModule. The application has to offer the following views for the user interface: 1. AgeGroupView 2. BookView 3. CurriculumView 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 AgeGroupView must contain the following fields: - name: Description type: STRING - name: FromNo type: INT An existing AgeGroup entity should be loaded from the relative URL: "/AgeGroupService/agegroup/{id}" (HTTP-GET) If a new AgeGroup entity has been created, the new entity should be posted to the relative URL: "/AgeGroupService/agegroup" (HTTP-POST) If an existing AgeGroup entity has been updated, the modified entity should be sent to the relative URL: "/AgeGroupService/agegroup/{id}" (HTTP-PUT) If an existing AgeGroup entity has to be deleted, the following relative URL should be called: "/AgeGroupService/agegroup/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Curriculum columns: - column: FromDate - column: ToDate - column: AgeGroup The table should have the title "Curriculums" und the data must be loaded from the server with the following relative URL: "/AgeGroupService/curriculum/agegroup/{id}" Add a HTML table to the view with the following SchoolSubject columns: - column: SubjectName - column: AgeGroup The table should have the title "SchoolSubjects" und the data must be loaded from the server with the following relative URL: "/SchoolSubjectService/schoolsubject/agegroup/{id}" Add a HTML table to the view with the following Book columns: - column: Price - column: AgeGroup - column: Author - column: Title - column: BookID The table should have the title "Books" und the data must be loaded from the server with the following relative URL: "/AgeGroupService/book/agegroup/{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/agegroup/{id}" 2. The BookView must contain the following fields: - name: Author type: STRING - name: Title type: STRING - name: AgeGroup type: AgeGroup - name: BookID type: STRING - name: Price type: DOUBLE The data source for the [AgeGroup] select control should be loaded from the relative URL: "/AgeGroupService/agegroup" (HTTP-GET) An existing Book entity should be loaded from the relative URL: "/AgeGroupService/book/{id}" (HTTP-GET) If a new Book entity has been created, the new entity should be posted to the relative URL: "/AgeGroupService/book" (HTTP-POST) If an existing Book entity has been updated, the modified entity should be sent to the relative URL: "/AgeGroupService/book/{id}" (HTTP-PUT) If an existing Book entity has to be deleted, the following relative URL should be called: "/AgeGroupService/book/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BookRental columns: - column: Student - column: Library - column: FromDate - column: Teacher - column: ReservationDate - column: Book - column: ToDate The table should have the title "BookRentals" und the data must be loaded from the server with the following relative URL: "/LibraryService/bookrental/book/{id}" 3. The CurriculumView must contain the following fields: - name: ToDate type: DATE - name: FromDate type: DATE - name: AgeGroup type: AgeGroup The data source for the [AgeGroup] select control should be loaded from the relative URL: "/AgeGroupService/agegroup" (HTTP-GET) An existing Curriculum entity should be loaded from the relative URL: "/AgeGroupService/curriculum/{id}" (HTTP-GET) If a new Curriculum entity has been created, the new entity should be posted to the relative URL: "/AgeGroupService/curriculum" (HTTP-POST) If an existing Curriculum entity has been updated, the modified entity should be sent to the relative URL: "/AgeGroupService/curriculum/{id}" (HTTP-PUT) If an existing Curriculum entity has to be deleted, the following relative URL should be called: "/AgeGroupService/curriculum/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CurriculumEntry columns: - column: SchoolSubject - column: Curriculum - column: LessonCount - column: SchoolYear The table should have the title "CurriculumEntrys" und the data must be loaded from the server with the following relative URL: "/SchoolYearService/curriculumentry/curriculum/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum