Overview
Summary
Contact
Donate
Imprint
Prompt for the
PersonApp
Please create a React-JS application for the PersonModule. The application has to offer the following views for the user interface: 1. JobApplicationView 2. PatentView 3. PersonView 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 JobApplicationView must contain the following fields: - name: ApplicantName type: STRING - name: Email type: STRING - name: JobPosting type: JobPosting - name: Notes type: STRING - name: Phone type: STRING - name: Status type: STRING - name: SubmittedOn type: DATE The data source for the [JobPosting] select control should be loaded from the relative URL: "/LocationService/jobposting" (HTTP-GET) An existing JobApplication entity should be loaded from the relative URL: "/PersonService/jobapplication/{id}" (HTTP-GET) If a new JobApplication entity has been created, the new entity should be posted to the relative URL: "/PersonService/jobapplication" (HTTP-POST) If an existing JobApplication entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/jobapplication/{id}" (HTTP-PUT) If an existing JobApplication entity has to be deleted, the following relative URL should be called: "/PersonService/jobapplication/{id}" (HTTP-DELETE) 2. The PatentView must contain the following fields: - name: Description type: STRING - name: FilingDate type: DATE - name: GrantDate type: DATE - name: Inventor type: Person - name: Number type: STRING - name: Title type: STRING The data source for the [Inventor] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing Patent entity should be loaded from the relative URL: "/PersonService/patent/{id}" (HTTP-GET) If a new Patent entity has been created, the new entity should be posted to the relative URL: "/PersonService/patent" (HTTP-POST) If an existing Patent entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/patent/{id}" (HTTP-PUT) If an existing Patent entity has to be deleted, the following relative URL should be called: "/PersonService/patent/{id}" (HTTP-DELETE) 3. The PersonView must contain the following fields: - name: Biography type: STRING - name: BirthDate type: DATE - name: DeathDate type: DATE - name: FullName type: STRING - name: Nationality type: STRING An existing Person entity should be loaded from the relative URL: "/PersonService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/PersonService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/PersonService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Patent columns: - column: Number - column: Description - column: GrantDate - column: Inventor - column: Title - column: FilingDate The table should have the title "Patents" und the data must be loaded from the server with the following relative URL: "/PersonService/patent/inventor/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint