Overview
Summary
Contact
Donate
Imprint
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. EducationView 2. JobApplicationMessageView 3. SchoolView 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 EducationView must contain the following fields: - name: Activities type: STRING - name: Degree type: STRING - name: Description type: STRING - name: EndDate type: DATE - name: FieldOfStudy type: STRING - name: Grade type: STRING - name: School type: School - name: StartDate type: DATE - name: User type: UserAccount The data source for the [School] select control should be loaded from the relative URL: "/SchoolService/school" (HTTP-GET) The data source for the [User] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Education entity should be loaded from the relative URL: "/SchoolService/education/{id}" (HTTP-GET) If a new Education entity has been created, the new entity should be posted to the relative URL: "/SchoolService/education" (HTTP-POST) If an existing Education entity has been updated, the modified entity should be sent to the relative URL: "/SchoolService/education/{id}" (HTTP-PUT) If an existing Education entity has to be deleted, the following relative URL should be called: "/SchoolService/education/{id}" (HTTP-DELETE) 2. The JobApplicationMessageView must contain the following fields: - name: Body type: STRING - name: JobApplication type: JobApplication - name: SenderUser type: UserAccount - name: SentAt type: DATE The data source for the [JobApplication] select control should be loaded from the relative URL: "/UserAccountService/jobapplication" (HTTP-GET) The data source for the [SenderUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing JobApplicationMessage entity should be loaded from the relative URL: "/SchoolService/jobapplicationmessage/{id}" (HTTP-GET) If a new JobApplicationMessage entity has been created, the new entity should be posted to the relative URL: "/SchoolService/jobapplicationmessage" (HTTP-POST) If an existing JobApplicationMessage entity has been updated, the modified entity should be sent to the relative URL: "/SchoolService/jobapplicationmessage/{id}" (HTTP-PUT) If an existing JobApplicationMessage entity has to be deleted, the following relative URL should be called: "/SchoolService/jobapplicationmessage/{id}" (HTTP-DELETE) 3. The SchoolView must contain the following fields: - name: City type: STRING - name: Country type: STRING - name: LogoUrl type: STRING - name: Name type: STRING - name: Type type: STRING - name: WebsiteUrl type: STRING 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 Education columns: - column: School - column: StartDate - column: Activities - column: Degree - column: Description - column: User - column: FieldOfStudy - column: Grade - column: EndDate The table should have the title "Educations" und the data must be loaded from the server with the following relative URL: "/SchoolService/education/school/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint