Overview
Summary
Contact
Donate
Imprint
Prompt for the
UserApp
Please create a React-JS application for the UserModule. The application has to offer the following views for the user interface: 1. AdImpressionView 2. ChannelMemberView 3. CommentReportView 4. SearchQueryView 5. UserView 6. WatchLaterView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. The AdImpressionView must contain the following fields: - name: Ad type: Ad - name: ClickedAt type: DATE - name: Device type: Device - name: ImpressionAt type: DATE - name: RevenueMicros type: LONG - name: User type: User - name: Video type: Video The data source for the [Ad] select control should be loaded from the relative URL: "/AdService/ad" (HTTP-GET) The data source for the [User] select control should be loaded from the relative URL: "/UserService/user" (HTTP-GET) The data source for the [Device] select control should be loaded from the relative URL: "/DeviceService/device" (HTTP-GET) The data source for the [Video] select control should be loaded from the relative URL: "/VideoService/video" (HTTP-GET) An existing AdImpression entity should be loaded from the relative URL: "/UserService/adimpression/{id}" (HTTP-GET) If a new AdImpression entity has been created, the new entity should be posted to the relative URL: "/UserService/adimpression" (HTTP-POST) If an existing AdImpression entity has been updated, the modified entity should be sent to the relative URL: "/UserService/adimpression/{id}" (HTTP-PUT) If an existing AdImpression entity has to be deleted, the following relative URL should be called: "/UserService/adimpression/{id}" (HTTP-DELETE) 2. The ChannelMemberView must contain the following fields: - name: Channel type: Channel - name: CreatedAt type: DATE - name: Role type: STRING - name: User type: User The data source for the [User] select control should be loaded from the relative URL: "/UserService/user" (HTTP-GET) The data source for the [Channel] select control should be loaded from the relative URL: "/ChannelService/channel" (HTTP-GET) An existing ChannelMember entity should be loaded from the relative URL: "/UserService/channelmember/{id}" (HTTP-GET) If a new ChannelMember entity has been created, the new entity should be posted to the relative URL: "/UserService/channelmember" (HTTP-POST) If an existing ChannelMember entity has been updated, the modified entity should be sent to the relative URL: "/UserService/channelmember/{id}" (HTTP-PUT) If an existing ChannelMember entity has to be deleted, the following relative URL should be called: "/UserService/channelmember/{id}" (HTTP-DELETE) 3. The CommentReportView must contain the following fields: - name: Comment type: Comment - name: CreatedAt type: DATE - name: Description type: STRING - name: ReasonCode type: STRING - name: ReporterUser type: User - name: ResolvedAt type: DATE - name: ResolvedByUser type: User - name: Status type: STRING The data source for the [Comment] select control should be loaded from the relative URL: "/CommentService/comment" (HTTP-GET) The data source for the [ResolvedByUser] select control should be loaded from the relative URL: "/UserService/user" (HTTP-GET) The data source for the [ReporterUser] select control should be loaded from the relative URL: "/UserService/user" (HTTP-GET) An existing CommentReport entity should be loaded from the relative URL: "/UserService/commentreport/{id}" (HTTP-GET) If a new CommentReport entity has been created, the new entity should be posted to the relative URL: "/UserService/commentreport" (HTTP-POST) If an existing CommentReport entity has been updated, the modified entity should be sent to the relative URL: "/UserService/commentreport/{id}" (HTTP-PUT) If an existing CommentReport entity has to be deleted, the following relative URL should be called: "/UserService/commentreport/{id}" (HTTP-DELETE) 4. The SearchQueryView must contain the following fields: - name: ExecutedAt type: DATE - name: FiltersJson type: STRING - name: Language type: STRING - name: QueryText type: STRING - name: ResultCountApprox type: LONG - name: User type: User The data source for the [User] select control should be loaded from the relative URL: "/UserService/user" (HTTP-GET) An existing SearchQuery entity should be loaded from the relative URL: "/UserService/searchquery/{id}" (HTTP-GET) If a new SearchQuery entity has been created, the new entity should be posted to the relative URL: "/UserService/searchquery" (HTTP-POST) If an existing SearchQuery entity has been updated, the modified entity should be sent to the relative URL: "/UserService/searchquery/{id}" (HTTP-PUT) If an existing SearchQuery entity has to be deleted, the following relative URL should be called: "/UserService/searchquery/{id}" (HTTP-DELETE) 5. The UserView must contain the following fields: - name: AvatarUrl type: STRING - name: Country type: STRING - name: CreatedAt type: DATE - name: DisplayName type: STRING - name: Email type: STRING - name: Handle type: STRING - name: IsVerified type: BOOL - name: Language type: STRING - name: PasswordHash type: STRING - name: Status type: STRING - name: UpdatedAt type: DATE An existing User entity should be loaded from the relative URL: "/UserService/user/{id}" (HTTP-GET) If a new User entity has been created, the new entity should be posted to the relative URL: "/UserService/user" (HTTP-POST) If an existing User entity has been updated, the modified entity should be sent to the relative URL: "/UserService/user/{id}" (HTTP-PUT) If an existing User entity has to be deleted, the following relative URL should be called: "/UserService/user/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UserSession columns: - column: IpAddress - column: RevokedAt - column: CreatedAt - column: User - column: Device - column: UserAgent - column: ExpiresAt The table should have the title "UserSessions" und the data must be loaded from the server with the following relative URL: "/DeviceService/usersession/user/{id}" Add a HTML table to the view with the following LiveChatMessage columns: - column: CreatedAt - column: Currency - column: LiveStream - column: MessageText - column: User - column: IsDeleted - column: SuperChatAmount The table should have the title "LiveChatMessages" und the data must be loaded from the server with the following relative URL: "/LiveStreamService/livechatmessage/user/{id}" Add a HTML table to the view with the following Channel columns: - column: Handle - column: AvatarUrl - column: OwnerUser - column: CustomUrl - column: UpdatedAt - column: Country - column: Status - column: Language - column: Name - column: CreatedAt - column: BannerImageUrl - column: Description - column: IsVerified The table should have the title "Channels" und the data must be loaded from the server with the following relative URL: "/ChannelService/channel/owneruser/{id}" Add a HTML table to the view with the following VideoLike columns: - column: Video - column: Type - column: CreatedAt - column: User The table should have the title "VideoLikes" und the data must be loaded from the server with the following relative URL: "/VideoService/videolike/user/{id}" Add a HTML table to the view with the following Comment columns: - column: CreatedAt - column: Video - column: User - column: UpdatedAt - column: LikeCountCached - column: ParentComment - column: Text - column: Status - column: IsEdited - column: IsPinned The table should have the title "Comments" und the data must be loaded from the server with the following relative URL: "/CommentService/comment/user/{id}" Add a HTML table to the view with the following SearchQuery columns: - column: ExecutedAt - column: FiltersJson - column: User - column: ResultCountApprox - column: Language - column: QueryText The table should have the title "SearchQuerys" und the data must be loaded from the server with the following relative URL: "/UserService/searchquery/user/{id}" Add a HTML table to the view with the following BlockedUser columns: - column: BlockerUser - column: CreatedAt - column: BlockedUser The table should have the title "BlockedUsers" und the data must be loaded from the server with the following relative URL: "/LiveStreamService/blockeduser/blockeduser/{id}" Add a HTML table to the view with the following BlockedUser columns: - column: BlockerUser - column: CreatedAt - column: BlockedUser The table should have the title "BlockedUsers" und the data must be loaded from the server with the following relative URL: "/LiveStreamService/blockeduser/blockeruser/{id}" Add a HTML table to the view with the following CommentReport columns: - column: ReporterUser - column: ResolvedAt - column: Status - column: CreatedAt - column: Comment - column: ReasonCode - column: ResolvedByUser - column: Description The table should have the title "CommentReports" und the data must be loaded from the server with the following relative URL: "/UserService/commentreport/reporteruser/{id}" Add a HTML table to the view with the following CommentReport columns: - column: ReporterUser - column: ResolvedAt - column: Status - column: CreatedAt - column: Comment - column: ReasonCode - column: ResolvedByUser - column: Description The table should have the title "CommentReports" und the data must be loaded from the server with the following relative URL: "/UserService/commentreport/resolvedbyuser/{id}" Add a HTML table to the view with the following PlaylistVideo columns: - column: Playlist - column: AddedByUser - column: Video - column: AddedAt - column: Position The table should have the title "PlaylistVideos" und the data must be loaded from the server with the following relative URL: "/PlaylistService/playlistvideo/addedbyuser/{id}" Add a HTML table to the view with the following WatchLater columns: - column: AddedAt - column: User - column: Video The table should have the title "WatchLaters" und the data must be loaded from the server with the following relative URL: "/UserService/watchlater/user/{id}" Add a HTML table to the view with the following AdImpression columns: - column: Video - column: Ad - column: RevenueMicros - column: ClickedAt - column: User - column: ImpressionAt - column: Device The table should have the title "AdImpressions" und the data must be loaded from the server with the following relative URL: "/UserService/adimpression/user/{id}" Add a HTML table to the view with the following UserProfile columns: - column: AdditionalSettingsJson - column: Bio - column: CreatedAt - column: BannerImageUrl - column: UpdatedAt - column: Gender - column: User - column: Birthdate - column: LinksJson The table should have the title "UserProfiles" und the data must be loaded from the server with the following relative URL: "/PlaylistService/userprofile/user/{id}" Add a HTML table to the view with the following Notification columns: - column: CreatedAt - column: IsRead - column: Type - column: PayloadJson - column: User The table should have the title "Notifications" und the data must be loaded from the server with the following relative URL: "/AdService/notification/user/{id}" Add a HTML table to the view with the following ChannelMember columns: - column: User - column: Channel - column: CreatedAt - column: Role The table should have the title "ChannelMembers" und the data must be loaded from the server with the following relative URL: "/UserService/channelmember/user/{id}" Add a HTML table to the view with the following VideoReport columns: - column: CreatedAt - column: ResolvedByUser - column: ResolvedAt - column: ReasonCode - column: Description - column: ReporterUser - column: Video - column: Status The table should have the title "VideoReports" und the data must be loaded from the server with the following relative URL: "/VideoService/videoreport/reporteruser/{id}" Add a HTML table to the view with the following VideoReport columns: - column: CreatedAt - column: ResolvedByUser - column: ResolvedAt - column: ReasonCode - column: Description - column: ReporterUser - column: Video - column: Status The table should have the title "VideoReports" und the data must be loaded from the server with the following relative URL: "/VideoService/videoreport/resolvedbyuser/{id}" Add a HTML table to the view with the following UserFavorite columns: - column: Video - column: User - column: CreatedAt The table should have the title "UserFavorites" und the data must be loaded from the server with the following relative URL: "/DeviceService/userfavorite/user/{id}" Add a HTML table to the view with the following WatchHistory columns: - column: WatchTimeSeconds - column: Device - column: Video - column: ProgressPercent - column: IsAutoplay - column: WatchedAt - column: User - column: Session The table should have the title "WatchHistorys" und the data must be loaded from the server with the following relative URL: "/VideoService/watchhistory/user/{id}" Add a HTML table to the view with the following CommentLike columns: - column: CreatedAt - column: Type - column: Comment - column: User The table should have the title "CommentLikes" und the data must be loaded from the server with the following relative URL: "/CommentService/commentlike/user/{id}" Add a HTML table to the view with the following UserFeedItem columns: - column: ShownAt - column: Video - column: RankScore - column: Channel - column: User - column: ClickedAt - column: ItemType The table should have the title "UserFeedItems" und the data must be loaded from the server with the following relative URL: "/ChannelService/userfeeditem/user/{id}" Add a HTML table to the view with the following VideoView columns: - column: WatchedAt - column: WatchTimeSeconds - column: IsUniqueSession - column: Country - column: Device - column: Video - column: Session - column: User - column: ReferrerType The table should have the title "VideoViews" und the data must be loaded from the server with the following relative URL: "/DeviceService/videoview/user/{id}" Add a HTML table to the view with the following Subscription columns: - column: IsActive - column: Channel - column: NotificationsLevel - column: SubscriberUser - column: CreatedAt The table should have the title "Subscriptions" und the data must be loaded from the server with the following relative URL: "/ChannelService/subscription/subscriberuser/{id}" 6. The WatchLaterView must contain the following fields: - name: AddedAt type: DATE - name: User type: User - name: Video type: Video The data source for the [User] select control should be loaded from the relative URL: "/UserService/user" (HTTP-GET) The data source for the [Video] select control should be loaded from the relative URL: "/VideoService/video" (HTTP-GET) An existing WatchLater entity should be loaded from the relative URL: "/UserService/watchlater/{id}" (HTTP-GET) If a new WatchLater entity has been created, the new entity should be posted to the relative URL: "/UserService/watchlater" (HTTP-POST) If an existing WatchLater entity has been updated, the modified entity should be sent to the relative URL: "/UserService/watchlater/{id}" (HTTP-PUT) If an existing WatchLater entity has to be deleted, the following relative URL should be called: "/UserService/watchlater/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint