Overview
Summary
Contact
Donate
Imprint
Prompt for the
UserAccountApp
Please create a React-JS application for the UserAccountModule. The application has to offer the following views for the user interface: 1. PollView 2. TitleRatingView 3. UserAccountView 4. WatchlistView 5. WatchlistItemView 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 PollView must contain the following fields: - name: ClosedAt type: DATE - name: CreatedAt type: DATE - name: CreatedBy type: UserAccount - name: Description type: STRING - name: IsActive type: BOOL - name: Question type: STRING The data source for the [CreatedBy] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Poll entity should be loaded from the relative URL: "/UserAccountService/poll/{id}" (HTTP-GET) If a new Poll entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/poll" (HTTP-POST) If an existing Poll entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/poll/{id}" (HTTP-PUT) If an existing Poll entity has to be deleted, the following relative URL should be called: "/UserAccountService/poll/{id}" (HTTP-DELETE) 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/poll/{id}" 2. The TitleRatingView must contain the following fields: - name: RatedAt type: DATE - name: RatingValue type: INT - name: Title type: Title - name: UserAccount type: UserAccount The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing TitleRating entity should be loaded from the relative URL: "/UserAccountService/titlerating/{id}" (HTTP-GET) If a new TitleRating entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/titlerating" (HTTP-POST) If an existing TitleRating entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/titlerating/{id}" (HTTP-PUT) If an existing TitleRating entity has to be deleted, the following relative URL should be called: "/UserAccountService/titlerating/{id}" (HTTP-DELETE) 3. The UserAccountView must contain the following fields: - name: Country type: Country - name: CreatedAt type: DATE - name: DisplayName type: STRING - name: Email type: STRING - name: IsActive type: BOOL - name: PasswordHash type: STRING - name: PreferredLanguage type: Language - name: UpdatedAt type: DATE - name: Username type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [PreferredLanguage] select control should be loaded from the relative URL: "/LanguageService/language" (HTTP-GET) An existing UserAccount entity should be loaded from the relative URL: "/UserAccountService/useraccount/{id}" (HTTP-GET) If a new UserAccount entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/useraccount" (HTTP-POST) If an existing UserAccount entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/useraccount/{id}" (HTTP-PUT) If an existing UserAccount entity has to be deleted, the following relative URL should be called: "/UserAccountService/useraccount/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TitleReview columns: - column: HelpfulnessScore - column: Language - column: UpdatedAt - column: CreatedAt - column: UserAccount - column: Title - column: Body - column: Headline - column: IsSpoiler The table should have the title "TitleReviews" und the data must be loaded from the server with the following relative URL: "/LanguageService/titlereview/useraccount/{id}" Add a HTML table to the view with the following Poll columns: - column: Question - column: IsActive - column: CreatedAt - column: ClosedAt - column: CreatedBy - column: Description The table should have the title "Polls" und the data must be loaded from the server with the following relative URL: "/UserAccountService/poll/createdby/{id}" Add a HTML table to the view with the following Watchlist columns: - column: CreatedAt - column: Description - column: IsDefault - column: UserAccount - column: UpdatedAt - column: Name The table should have the title "Watchlists" und the data must be loaded from the server with the following relative URL: "/UserAccountService/watchlist/useraccount/{id}" Add a HTML table to the view with the following ReviewVote columns: - column: VotedAt - column: IsHelpful - column: TitleReview - column: UserAccount The table should have the title "ReviewVotes" und the data must be loaded from the server with the following relative URL: "/LanguageService/reviewvote/useraccount/{id}" 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/useraccount/{id}" Add a HTML table to the view with the following TitleRating columns: - column: RatedAt - column: UserAccount - column: RatingValue - column: Title The table should have the title "TitleRatings" und the data must be loaded from the server with the following relative URL: "/UserAccountService/titlerating/useraccount/{id}" Add a HTML table to the view with the following UserList columns: - column: IsPublic - column: UpdatedAt - column: UserAccount - column: CreatedAt - column: Name - column: Description The table should have the title "UserLists" und the data must be loaded from the server with the following relative URL: "/AwardEventService/userlist/useraccount/{id}" 4. The WatchlistView must contain the following fields: - name: CreatedAt type: DATE - name: Description type: STRING - name: IsDefault 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 Watchlist entity should be loaded from the relative URL: "/UserAccountService/watchlist/{id}" (HTTP-GET) If a new Watchlist entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/watchlist" (HTTP-POST) If an existing Watchlist entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/watchlist/{id}" (HTTP-PUT) If an existing Watchlist entity has to be deleted, the following relative URL should be called: "/UserAccountService/watchlist/{id}" (HTTP-DELETE) Add a HTML table to the view with the following WatchlistItem columns: - column: Title - column: Position - column: AddedAt - column: Notes - column: Watchlist The table should have the title "WatchlistItems" und the data must be loaded from the server with the following relative URL: "/UserAccountService/watchlistitem/watchlist/{id}" 5. The WatchlistItemView must contain the following fields: - name: AddedAt type: DATE - name: Notes type: STRING - name: Position type: LONG - name: Title type: Title - name: Watchlist type: Watchlist The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) The data source for the [Watchlist] select control should be loaded from the relative URL: "/UserAccountService/watchlist" (HTTP-GET) An existing WatchlistItem entity should be loaded from the relative URL: "/UserAccountService/watchlistitem/{id}" (HTTP-GET) If a new WatchlistItem entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/watchlistitem" (HTTP-POST) If an existing WatchlistItem entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/watchlistitem/{id}" (HTTP-PUT) If an existing WatchlistItem entity has to be deleted, the following relative URL should be called: "/UserAccountService/watchlistitem/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint