Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchoolApp
Please create a React-JS application for the SchoolModule. The application has to offer the following views for the user interface: 1. HolidaysView 2. ProjectWeekView 3. SchoolView 4. SchoolDoctorView 5. SchoolTypeView 6. StudentRepresentationView 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 HolidaysView must contain the following fields: - name: FromDate type: DATE - name: Description type: STRING - name: ToDate type: DATE - name: School type: School The data source for the [School] select control should be loaded from the relative URL: "/SchoolService/school" (HTTP-GET) An existing Holidays entity should be loaded from the relative URL: "/SchoolService/holidays/{id}" (HTTP-GET) If a new Holidays entity has been created, the new entity should be posted to the relative URL: "/SchoolService/holidays" (HTTP-POST) If an existing Holidays entity has been updated, the modified entity should be sent to the relative URL: "/SchoolService/holidays/{id}" (HTTP-PUT) If an existing Holidays entity has to be deleted, the following relative URL should be called: "/SchoolService/holidays/{id}" (HTTP-DELETE) 2. The ProjectWeekView must contain the following fields: - name: FromDate type: DATE - name: ToDate type: DATE - name: School type: School The data source for the [School] select control should be loaded from the relative URL: "/SchoolService/school" (HTTP-GET) An existing ProjectWeek entity should be loaded from the relative URL: "/SchoolService/projectweek/{id}" (HTTP-GET) If a new ProjectWeek entity has been created, the new entity should be posted to the relative URL: "/SchoolService/projectweek" (HTTP-POST) If an existing ProjectWeek entity has been updated, the modified entity should be sent to the relative URL: "/SchoolService/projectweek/{id}" (HTTP-PUT) If an existing ProjectWeek entity has to be deleted, the following relative URL should be called: "/SchoolService/projectweek/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Project columns: - column: ProjectWeek - column: ProjectTitle - column: ProjectDescription The table should have the title "Projects" und the data must be loaded from the server with the following relative URL: "/ExternalPersonService/project/projectweek/{id}" 3. The SchoolView must contain the following fields: - name: Email type: STRING - name: FaxNo type: STRING - name: SchoolInfo type: STRING - name: Image type: STRING - name: PostalCode type: STRING - name: SchoolName type: STRING - name: SchoolType type: SchoolType - name: City type: STRING - name: Street type: STRING - name: PhoneNo type: STRING The data source for the [SchoolType] select control should be loaded from the relative URL: "/SchoolService/schooltype" (HTTP-GET) An existing School entity should be loaded from the relative URL: "/SchoolService/school/{id}" (HTTP-GET) If a new School entity has been created, the new entity should be posted to the relative URL: "/SchoolService/school" (HTTP-POST) If an existing School entity has been updated, the modified entity should be sent to the relative URL: "/SchoolService/school/{id}" (HTTP-PUT) If an existing School entity has to be deleted, the following relative URL should be called: "/SchoolService/school/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Schoolyard columns: - column: School - column: SchoolyardName The table should have the title "Schoolyards" und the data must be loaded from the server with the following relative URL: "/RoomService/schoolyard/school/{id}" Add a HTML table to the view with the following ProjectWeek columns: - column: ToDate - column: School - column: FromDate The table should have the title "ProjectWeeks" und the data must be loaded from the server with the following relative URL: "/SchoolService/projectweek/school/{id}" Add a HTML table to the view with the following Building columns: - column: PostalCode - column: Street - column: BuildingName - column: BuildingInfo - column: City - column: School The table should have the title "Buildings" und the data must be loaded from the server with the following relative URL: "/RoomService/building/school/{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/school/{id}" Add a HTML table to the view with the following VitaEntry columns: - column: School - column: Student - column: Nursery - column: Company - column: FromDate - column: ToDate - column: Details The table should have the title "VitaEntrys" und the data must be loaded from the server with the following relative URL: "/NurseryService/vitaentry/school/{id}" Add a HTML table to the view with the following Budget columns: - column: TimePeriod - column: School The table should have the title "Budgets" und the data must be loaded from the server with the following relative URL: "/TimePeriodService/budget/school/{id}" Add a HTML table to the view with the following SchoolDoctor columns: - column: City - column: DoctorName - column: CellPhoneNo - column: Street - column: FaxNo - column: PostalCode - column: DoctorInfo - column: PhoneNo - column: School The table should have the title "SchoolDoctors" und the data must be loaded from the server with the following relative URL: "/SchoolService/schooldoctor/school/{id}" Add a HTML table to the view with the following Holidays columns: - column: FromDate - column: ToDate - column: Description - column: School The table should have the title "Holidayss" und the data must be loaded from the server with the following relative URL: "/SchoolService/holidays/school/{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/school/{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/school/{id}" 4. The SchoolDoctorView must contain the following fields: - name: FaxNo type: STRING - name: DoctorInfo type: STRING - name: CellPhoneNo type: STRING - name: DoctorName type: STRING - name: PostalCode type: STRING - name: School type: School - name: City type: STRING - name: Street type: STRING - name: PhoneNo type: STRING The data source for the [School] select control should be loaded from the relative URL: "/SchoolService/school" (HTTP-GET) An existing SchoolDoctor entity should be loaded from the relative URL: "/SchoolService/schooldoctor/{id}" (HTTP-GET) If a new SchoolDoctor entity has been created, the new entity should be posted to the relative URL: "/SchoolService/schooldoctor" (HTTP-POST) If an existing SchoolDoctor entity has been updated, the modified entity should be sent to the relative URL: "/SchoolService/schooldoctor/{id}" (HTTP-PUT) If an existing SchoolDoctor entity has to be deleted, the following relative URL should be called: "/SchoolService/schooldoctor/{id}" (HTTP-DELETE) 5. The SchoolTypeView must contain the following fields: - name: TypeName type: STRING An existing SchoolType entity should be loaded from the relative URL: "/SchoolService/schooltype/{id}" (HTTP-GET) If a new SchoolType entity has been created, the new entity should be posted to the relative URL: "/SchoolService/schooltype" (HTTP-POST) If an existing SchoolType entity has been updated, the modified entity should be sent to the relative URL: "/SchoolService/schooltype/{id}" (HTTP-PUT) If an existing SchoolType entity has to be deleted, the following relative URL should be called: "/SchoolService/schooltype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following School columns: - column: SchoolType - column: FaxNo - column: Image - column: SchoolName - column: PhoneNo - column: Email - column: PostalCode - column: SchoolInfo - column: Street - column: City The table should have the title "Schools" und the data must be loaded from the server with the following relative URL: "/SchoolService/school/schooltype/{id}" Add a HTML table to the view with the following Student columns: - column: Gender - column: DateOfBirth - column: FirstName - column: City - column: ChosenSchoolType - column: Religion - column: PostalCode - column: CellPhoneNo - column: RecommendedSchoolType - column: ReadWriteAtony - column: CityOfBirth - column: ReligionTeaching - column: HealthInsurance - column: Email - column: Street - column: StudentInfo - column: LastName - column: SwimmingInsignia - column: PhoneNo The table should have the title "Students" und the data must be loaded from the server with the following relative URL: "/StudentService/student/recommendedschooltype/{id}" Add a HTML table to the view with the following Student columns: - column: Gender - column: DateOfBirth - column: FirstName - column: City - column: ChosenSchoolType - column: Religion - column: PostalCode - column: CellPhoneNo - column: RecommendedSchoolType - column: ReadWriteAtony - column: CityOfBirth - column: ReligionTeaching - column: HealthInsurance - column: Email - column: Street - column: StudentInfo - column: LastName - column: SwimmingInsignia - column: PhoneNo The table should have the title "Students" und the data must be loaded from the server with the following relative URL: "/StudentService/student/chosenschooltype/{id}" 6. The StudentRepresentationView must contain the following fields: - name: SchoolClass type: SchoolClass - name: School type: School - name: Student type: Student The data source for the [School] select control should be loaded from the relative URL: "/SchoolService/school" (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 [Student] select control should be loaded from the relative URL: "/StudentService/student" (HTTP-GET) An existing StudentRepresentation entity should be loaded from the relative URL: "/SchoolService/studentrepresentation/{id}" (HTTP-GET) If a new StudentRepresentation entity has been created, the new entity should be posted to the relative URL: "/SchoolService/studentrepresentation" (HTTP-POST) If an existing StudentRepresentation entity has been updated, the modified entity should be sent to the relative URL: "/SchoolService/studentrepresentation/{id}" (HTTP-PUT) If an existing StudentRepresentation entity has to be deleted, the following relative URL should be called: "/SchoolService/studentrepresentation/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum