Overview
Summary
Contact
Donate
Imprint
Prompt for the
AwardEventApp
Please create a React-JS application for the AwardEventModule. The application has to offer the following views for the user interface: 1. AwardCategoryView 2. AwardEventView 3. EpisodeView 4. UserListView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AwardCategoryView must contain the following fields: - name: AwardEvent type: AwardEvent - name: Description type: STRING - name: Name type: STRING The data source for the [AwardEvent] select control should be loaded from the relative URL: "/AwardEventService/awardevent" (HTTP-GET) An existing AwardCategory entity should be loaded from the relative URL: "/AwardEventService/awardcategory/{id}" (HTTP-GET) If a new AwardCategory entity has been created, the new entity should be posted to the relative URL: "/AwardEventService/awardcategory" (HTTP-POST) If an existing AwardCategory entity has been updated, the modified entity should be sent to the relative URL: "/AwardEventService/awardcategory/{id}" (HTTP-PUT) If an existing AwardCategory entity has to be deleted, the following relative URL should be called: "/AwardEventService/awardcategory/{id}" (HTTP-DELETE) 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/awardcategory/{id}" Add a HTML table to the view with the following TitleAward columns: - column: Notes - column: AwardCategory - column: IsWinner - column: Title - column: AwardEventEdition The table should have the title "TitleAwards" und the data must be loaded from the server with the following relative URL: "/AwardEventEditionService/titleaward/awardcategory/{id}" 2. The AwardEventView must contain the following fields: - name: Country type: Country - name: Description type: STRING - name: FirstYear type: INT - name: Name type: STRING - name: WebsiteUrl type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing AwardEvent entity should be loaded from the relative URL: "/AwardEventService/awardevent/{id}" (HTTP-GET) If a new AwardEvent entity has been created, the new entity should be posted to the relative URL: "/AwardEventService/awardevent" (HTTP-POST) If an existing AwardEvent entity has been updated, the modified entity should be sent to the relative URL: "/AwardEventService/awardevent/{id}" (HTTP-PUT) If an existing AwardEvent entity has to be deleted, the following relative URL should be called: "/AwardEventService/awardevent/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AwardCategory columns: - column: AwardEvent - column: Name - column: Description The table should have the title "AwardCategorys" und the data must be loaded from the server with the following relative URL: "/AwardEventService/awardcategory/awardevent/{id}" Add a HTML table to the view with the following AwardEventEdition columns: - column: EditionNumber - column: EventDate - column: Year - column: Location - column: AwardEvent The table should have the title "AwardEventEditions" und the data must be loaded from the server with the following relative URL: "/AwardEventEditionService/awardeventedition/awardevent/{id}" 3. The EpisodeView must contain the following fields: - name: AbsoluteNumber type: LONG - name: EpisodeNumber type: LONG - name: ParentSeries type: Title - name: SeasonNumber type: LONG - 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 [ParentSeries] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) An existing Episode entity should be loaded from the relative URL: "/AwardEventService/episode/{id}" (HTTP-GET) If a new Episode entity has been created, the new entity should be posted to the relative URL: "/AwardEventService/episode" (HTTP-POST) If an existing Episode entity has been updated, the modified entity should be sent to the relative URL: "/AwardEventService/episode/{id}" (HTTP-PUT) If an existing Episode entity has to be deleted, the following relative URL should be called: "/AwardEventService/episode/{id}" (HTTP-DELETE) 4. The UserListView must contain the following fields: - name: CreatedAt type: DATE - name: Description type: STRING - name: IsPublic type: BOOL - name: Name type: STRING - name: UpdatedAt type: DATE - name: UserAccount type: UserAccount The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing UserList entity should be loaded from the relative URL: "/AwardEventService/userlist/{id}" (HTTP-GET) If a new UserList entity has been created, the new entity should be posted to the relative URL: "/AwardEventService/userlist" (HTTP-POST) If an existing UserList entity has been updated, the modified entity should be sent to the relative URL: "/AwardEventService/userlist/{id}" (HTTP-PUT) If an existing UserList entity has to be deleted, the following relative URL should be called: "/AwardEventService/userlist/{id}" (HTTP-DELETE) 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/userlist/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint