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. PersonView 2. PollOptionView 3. TitleCastView 4. TitleCrewView 5. UserListItemView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The PersonView must contain the following fields: - name: Bio type: STRING - name: BirthDate type: DATE - name: BirthPlace type: STRING - name: DeathDate type: DATE - name: Gender type: STRING - name: PhotoUrl type: STRING - name: PrimaryName type: STRING - name: PrimaryProfession 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 EditorialArticlePerson columns: - column: Person - column: Position - column: EditorialArticle The table should have the title "EditorialArticlePersons" und the data must be loaded from the server with the following relative URL: "/EditorialArticleService/editorialarticleperson/person/{id}" Add a HTML table to the view with the following MediaItem columns: - column: Title - column: Person - column: MediaType - column: DurationSeconds - column: PublishedAt - column: ThumbnailUrl - column: Url - column: Caption The table should have the title "MediaItems" und the data must be loaded from the server with the following relative URL: "/JobTypeService/mediaitem/person/{id}" Add a HTML table to the view with the following TitleCrew columns: - column: Department - column: Person - column: Title - column: Job The table should have the title "TitleCrews" und the data must be loaded from the server with the following relative URL: "/PersonService/titlecrew/person/{id}" Add a HTML table to the view with the following UserListItem columns: - column: Position - column: UserList - column: Notes - column: AddedAt - column: Person - column: Title The table should have the title "UserListItems" und the data must be loaded from the server with the following relative URL: "/PersonService/userlistitem/person/{id}" Add a HTML table to the view with the following TitleCast columns: - column: CreditOrder - column: IsGuestAppearance - column: Person - column: RoleDescription - column: Character - column: Title - column: IsUncredited The table should have the title "TitleCasts" und the data must be loaded from the server with the following relative URL: "/PersonService/titlecast/person/{id}" Add a HTML table to the view with the following PersonAward columns: - column: AwardEventEdition - column: AwardCategory - column: Person - column: Title - column: Notes - column: IsWinner The table should have the title "PersonAwards" und the data must be loaded from the server with the following relative URL: "/AwardEventEditionService/personaward/person/{id}" Add a HTML table to the view with the following PollOption columns: - column: Position - column: Title - column: Text - column: Person - column: Poll The table should have the title "PollOptions" und the data must be loaded from the server with the following relative URL: "/PersonService/polloption/person/{id}" 2. The PollOptionView must contain the following fields: - name: Person type: Person - name: Poll type: Poll - name: Position type: LONG - name: Text type: STRING - name: Title type: Title The data source for the [Poll] select control should be loaded from the relative URL: "/UserAccountService/poll" (HTTP-GET) The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing PollOption entity should be loaded from the relative URL: "/PersonService/polloption/{id}" (HTTP-GET) If a new PollOption entity has been created, the new entity should be posted to the relative URL: "/PersonService/polloption" (HTTP-POST) If an existing PollOption entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/polloption/{id}" (HTTP-PUT) If an existing PollOption entity has to be deleted, the following relative URL should be called: "/PersonService/polloption/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PollVote columns: - column: PollOption - column: UserAccount - column: VotedAt The table should have the title "PollVotes" und the data must be loaded from the server with the following relative URL: "/EditorialArticleService/pollvote/polloption/{id}" 3. The TitleCastView must contain the following fields: - name: Character type: Character - name: CreditOrder type: LONG - name: IsGuestAppearance type: BOOL - name: IsUncredited type: BOOL - name: Person type: Person - name: RoleDescription type: STRING - name: Title type: Title The data source for the [Character] select control should be loaded from the relative URL: "/CharacterService/character" (HTTP-GET) The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing TitleCast entity should be loaded from the relative URL: "/PersonService/titlecast/{id}" (HTTP-GET) If a new TitleCast entity has been created, the new entity should be posted to the relative URL: "/PersonService/titlecast" (HTTP-POST) If an existing TitleCast entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/titlecast/{id}" (HTTP-PUT) If an existing TitleCast entity has to be deleted, the following relative URL should be called: "/PersonService/titlecast/{id}" (HTTP-DELETE) 4. The TitleCrewView must contain the following fields: - name: Department type: STRING - name: Job type: JobType - name: Person type: Person - name: Title type: Title The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) The data source for the [Job] select control should be loaded from the relative URL: "/JobTypeService/jobtype" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing TitleCrew entity should be loaded from the relative URL: "/PersonService/titlecrew/{id}" (HTTP-GET) If a new TitleCrew entity has been created, the new entity should be posted to the relative URL: "/PersonService/titlecrew" (HTTP-POST) If an existing TitleCrew entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/titlecrew/{id}" (HTTP-PUT) If an existing TitleCrew entity has to be deleted, the following relative URL should be called: "/PersonService/titlecrew/{id}" (HTTP-DELETE) 5. The UserListItemView must contain the following fields: - name: AddedAt type: DATE - name: Notes type: STRING - name: Person type: Person - name: Position type: LONG - name: Title type: Title - name: UserList type: UserList The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) The data source for the [UserList] select control should be loaded from the relative URL: "/AwardEventService/userlist" (HTTP-GET) An existing UserListItem entity should be loaded from the relative URL: "/PersonService/userlistitem/{id}" (HTTP-GET) If a new UserListItem entity has been created, the new entity should be posted to the relative URL: "/PersonService/userlistitem" (HTTP-POST) If an existing UserListItem entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/userlistitem/{id}" (HTTP-PUT) If an existing UserListItem entity has to be deleted, the following relative URL should be called: "/PersonService/userlistitem/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint