Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchoolYearApp
Please create a React-JS application for the SchoolYearModule. The application has to offer the following views for the user interface: 1. BreakPlanView 2. CurriculumEntryView 3. SchoolClassView 4. SchoolReportView 5. SchoolYearView 6. TeachingUnitView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. The BreakPlanView must contain the following fields: - name: Schoolyard type: Schoolyard - name: SchoolYear type: SchoolYear The data source for the [Schoolyard] select control should be loaded from the relative URL: "/RoomService/schoolyard" (HTTP-GET) The data source for the [SchoolYear] select control should be loaded from the relative URL: "/SchoolYearService/schoolyear" (HTTP-GET) An existing BreakPlan entity should be loaded from the relative URL: "/SchoolYearService/breakplan/{id}" (HTTP-GET) If a new BreakPlan entity has been created, the new entity should be posted to the relative URL: "/SchoolYearService/breakplan" (HTTP-POST) If an existing BreakPlan entity has been updated, the modified entity should be sent to the relative URL: "/SchoolYearService/breakplan/{id}" (HTTP-PUT) If an existing BreakPlan entity has to be deleted, the following relative URL should be called: "/SchoolYearService/breakplan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BreakPlanEntry columns: - column: EntryDate - column: Teacher - column: BreakPlan - column: SchoolBreak The table should have the title "BreakPlanEntrys" und the data must be loaded from the server with the following relative URL: "/SchoolBreakService/breakplanentry/breakplan/{id}" 2. The CurriculumEntryView must contain the following fields: - name: SchoolSubject type: SchoolSubject - name: Curriculum type: Curriculum - name: SchoolYear type: SchoolYear - name: LessonCount type: INT The data source for the [SchoolSubject] select control should be loaded from the relative URL: "/SchoolSubjectService/schoolsubject" (HTTP-GET) The data source for the [Curriculum] select control should be loaded from the relative URL: "/AgeGroupService/curriculum" (HTTP-GET) The data source for the [SchoolYear] select control should be loaded from the relative URL: "/SchoolYearService/schoolyear" (HTTP-GET) An existing CurriculumEntry entity should be loaded from the relative URL: "/SchoolYearService/curriculumentry/{id}" (HTTP-GET) If a new CurriculumEntry entity has been created, the new entity should be posted to the relative URL: "/SchoolYearService/curriculumentry" (HTTP-POST) If an existing CurriculumEntry entity has been updated, the modified entity should be sent to the relative URL: "/SchoolYearService/curriculumentry/{id}" (HTTP-PUT) If an existing CurriculumEntry entity has to be deleted, the following relative URL should be called: "/SchoolYearService/curriculumentry/{id}" (HTTP-DELETE) 3. The SchoolClassView must contain the following fields: - name: AgeGroup type: AgeGroup - name: Teacher type: Teacher - name: ClassName type: STRING - name: Room type: Room - 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 [AgeGroup] select control should be loaded from the relative URL: "/AgeGroupService/agegroup" (HTTP-GET) The data source for the [Teacher] select control should be loaded from the relative URL: "/StudentService/teacher" (HTTP-GET) The data source for the [SchoolYear] select control should be loaded from the relative URL: "/SchoolYearService/schoolyear" (HTTP-GET) The data source for the [Room] select control should be loaded from the relative URL: "/RoomService/room" (HTTP-GET) An existing SchoolClass entity should be loaded from the relative URL: "/SchoolYearService/schoolclass/{id}" (HTTP-GET) If a new SchoolClass entity has been created, the new entity should be posted to the relative URL: "/SchoolYearService/schoolclass" (HTTP-POST) If an existing SchoolClass entity has been updated, the modified entity should be sent to the relative URL: "/SchoolYearService/schoolclass/{id}" (HTTP-PUT) If an existing SchoolClass entity has to be deleted, the following relative URL should be called: "/SchoolYearService/schoolclass/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HomeWork columns: - column: Schoolsubject - column: WorkDate - column: Description - column: DeadLine - column: Grade - column: SchoolClass - column: Done - column: Subject - column: Student The table should have the title "HomeWorks" und the data must be loaded from the server with the following relative URL: "/SchoolSubjectService/homework/schoolclass/{id}" Add a HTML table to the view with the following ClassRegister columns: - column: SchoolClass The table should have the title "ClassRegisters" und the data must be loaded from the server with the following relative URL: "/SchoolClassStudentService/classregister/schoolclass/{id}" Add a HTML table to the view with the following SchoolSubjectClass columns: - column: SchoolSubject - column: SchoolClass The table should have the title "SchoolSubjectClasss" und the data must be loaded from the server with the following relative URL: "/SchoolSubjectClassService/schoolsubjectclass/schoolclass/{id}" Add a HTML table to the view with the following Lesson columns: - column: Teacher - column: SchoolSubject - column: LessonContent - column: SchoolClass - column: LessonDate The table should have the title "Lessons" und the data must be loaded from the server with the following relative URL: "/LessonService/lesson/schoolclass/{id}" Add a HTML table to the view with the following SchoolClassStudent columns: - column: Student - column: SchoolClass The table should have the title "SchoolClassStudents" und the data must be loaded from the server with the following relative URL: "/SchoolClassStudentService/schoolclassstudent/schoolclass/{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/schoolclass/{id}" Add a HTML table to the view with the following StudentRepresentation columns: - column: Student - column: School - column: SchoolClass The table should have the title "StudentRepresentations" und the data must be loaded from the server with the following relative URL: "/SchoolService/studentrepresentation/schoolclass/{id}" 4. The SchoolReportView must contain the following fields: - name: SchoolYear type: SchoolYear - name: SchoolClassStudent type: SchoolClassStudent The data source for the [SchoolClassStudent] select control should be loaded from the relative URL: "/SchoolClassStudentService/schoolclassstudent" (HTTP-GET) The data source for the [SchoolYear] select control should be loaded from the relative URL: "/SchoolYearService/schoolyear" (HTTP-GET) An existing SchoolReport entity should be loaded from the relative URL: "/SchoolYearService/schoolreport/{id}" (HTTP-GET) If a new SchoolReport entity has been created, the new entity should be posted to the relative URL: "/SchoolYearService/schoolreport" (HTTP-POST) If an existing SchoolReport entity has been updated, the modified entity should be sent to the relative URL: "/SchoolYearService/schoolreport/{id}" (HTTP-PUT) If an existing SchoolReport entity has to be deleted, the following relative URL should be called: "/SchoolYearService/schoolreport/{id}" (HTTP-DELETE) 5. The SchoolYearView must contain the following fields: - name: FromDate type: DATE - name: ToDate type: DATE - name: SchoolYearName type: STRING An existing SchoolYear entity should be loaded from the relative URL: "/SchoolYearService/schoolyear/{id}" (HTTP-GET) If a new SchoolYear entity has been created, the new entity should be posted to the relative URL: "/SchoolYearService/schoolyear" (HTTP-POST) If an existing SchoolYear entity has been updated, the modified entity should be sent to the relative URL: "/SchoolYearService/schoolyear/{id}" (HTTP-PUT) If an existing SchoolYear entity has to be deleted, the following relative URL should be called: "/SchoolYearService/schoolyear/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchoolReport columns: - column: SchoolClassStudent - column: SchoolYear The table should have the title "SchoolReports" und the data must be loaded from the server with the following relative URL: "/SchoolYearService/schoolreport/schoolyear/{id}" Add a HTML table to the view with the following CourseGroup columns: - column: SchoolYear - column: RequiredCourse - column: SchoolSubject - column: GroupName The table should have the title "CourseGroups" und the data must be loaded from the server with the following relative URL: "/SchoolSubjectService/coursegroup/schoolyear/{id}" Add a HTML table to the view with the following TeacherLesson columns: - column: SchoolYear - column: LessonCount - column: Teacher The table should have the title "TeacherLessons" und the data must be loaded from the server with the following relative URL: "/SchoolSubjectService/teacherlesson/schoolyear/{id}" Add a HTML table to the view with the following TeacherBoard columns: - column: SchoolYear - column: School The table should have the title "TeacherBoards" und the data must be loaded from the server with the following relative URL: "/TeacherBoardService/teacherboard/schoolyear/{id}" Add a HTML table to the view with the following BreakPlan columns: - column: Schoolyard - column: SchoolYear The table should have the title "BreakPlans" und the data must be loaded from the server with the following relative URL: "/SchoolYearService/breakplan/schoolyear/{id}" 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/schoolyear/{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/schoolyear/{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/schoolyear/{id}" 6. The TeachingUnitView must contain the following fields: - name: SchoolSubject type: SchoolSubject - name: SchoolClass type: SchoolClass - name: CourseGroup type: CourseGroup - name: Teacher type: Teacher - name: Room type: Room - name: SchoolYear type: SchoolYear - name: RowIndex type: INT - name: ColumnIndex type: INT The data source for the [SchoolSubject] select control should be loaded from the relative URL: "/SchoolSubjectService/schoolsubject" (HTTP-GET) The data source for the [CourseGroup] select control should be loaded from the relative URL: "/SchoolSubjectService/coursegroup" (HTTP-GET) The data source for the [Teacher] select control should be loaded from the relative URL: "/StudentService/teacher" (HTTP-GET) The data source for the [SchoolClass] select control should be loaded from the relative URL: "/SchoolYearService/schoolclass" (HTTP-GET) The data source for the [SchoolYear] select control should be loaded from the relative URL: "/SchoolYearService/schoolyear" (HTTP-GET) The data source for the [Room] select control should be loaded from the relative URL: "/RoomService/room" (HTTP-GET) An existing TeachingUnit entity should be loaded from the relative URL: "/SchoolYearService/teachingunit/{id}" (HTTP-GET) If a new TeachingUnit entity has been created, the new entity should be posted to the relative URL: "/SchoolYearService/teachingunit" (HTTP-POST) If an existing TeachingUnit entity has been updated, the modified entity should be sent to the relative URL: "/SchoolYearService/teachingunit/{id}" (HTTP-PUT) If an existing TeachingUnit entity has to be deleted, the following relative URL should be called: "/SchoolYearService/teachingunit/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum