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. CommentLikeView 2. DirectThreadParticipantView 3. MediaItemView 4. PostView 5. ReelLikeView 6. UserAccountView 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 CommentLikeView must contain the following fields: - name: Comment type: Comment - name: CreatedAt type: DATE - name: UserAccount type: UserAccount The data source for the [Comment] select control should be loaded from the relative URL: "/StoryService/comment" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing CommentLike entity should be loaded from the relative URL: "/UserAccountService/commentlike/{id}" (HTTP-GET) If a new CommentLike entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/commentlike" (HTTP-POST) If an existing CommentLike entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/commentlike/{id}" (HTTP-PUT) If an existing CommentLike entity has to be deleted, the following relative URL should be called: "/UserAccountService/commentlike/{id}" (HTTP-DELETE) 2. The DirectThreadParticipantView must contain the following fields: - name: DirectThread type: DirectThread - name: IsAdmin type: BOOL - name: JoinedAt type: DATE - name: UserAccount type: UserAccount The data source for the [DirectThread] select control should be loaded from the relative URL: "/DirectThreadService/directthread" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing DirectThreadParticipant entity should be loaded from the relative URL: "/UserAccountService/directthreadparticipant/{id}" (HTTP-GET) If a new DirectThreadParticipant entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/directthreadparticipant" (HTTP-POST) If an existing DirectThreadParticipant entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/directthreadparticipant/{id}" (HTTP-PUT) If an existing DirectThreadParticipant entity has to be deleted, the following relative URL should be called: "/UserAccountService/directthreadparticipant/{id}" (HTTP-DELETE) 3. The MediaItemView must contain the following fields: - name: AspectRatio type: STRING - name: CreatedAt type: DATE - name: DurationSeconds type: LONG - name: FilterName type: STRING - name: Height type: LONG - name: MediaOrder type: LONG - name: MediaType type: STRING - name: Post type: Post - name: ThumbnailUrl type: STRING - name: Url type: STRING - name: Width type: LONG The data source for the [Post] select control should be loaded from the relative URL: "/UserAccountService/post" (HTTP-GET) An existing MediaItem entity should be loaded from the relative URL: "/UserAccountService/mediaitem/{id}" (HTTP-GET) If a new MediaItem entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/mediaitem" (HTTP-POST) If an existing MediaItem entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/mediaitem/{id}" (HTTP-PUT) If an existing MediaItem entity has to be deleted, the following relative URL should be called: "/UserAccountService/mediaitem/{id}" (HTTP-DELETE) 4. The PostView must contain the following fields: - name: Caption type: STRING - name: CreatedAt type: DATE - name: IsArchived type: BOOL - name: IsSponsored type: BOOL - name: Location type: Location - name: MediaType type: STRING - name: UpdatedAt type: DATE - name: UserAccount type: UserAccount - name: Visibility type: STRING The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [Location] select control should be loaded from the relative URL: "/FeatureFlagService/location" (HTTP-GET) An existing Post entity should be loaded from the relative URL: "/UserAccountService/post/{id}" (HTTP-GET) If a new Post entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/post" (HTTP-POST) If an existing Post entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/post/{id}" (HTTP-PUT) If an existing Post entity has to be deleted, the following relative URL should be called: "/UserAccountService/post/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MediaItem columns: - column: ThumbnailUrl - column: MediaType - column: DurationSeconds - column: Post - column: CreatedAt - column: FilterName - column: Width - column: Height - column: MediaOrder - column: AspectRatio - column: Url The table should have the title "MediaItems" und the data must be loaded from the server with the following relative URL: "/UserAccountService/mediaitem/post/{id}" Add a HTML table to the view with the following PostLike columns: - column: UserAccount - column: Post - column: CreatedAt The table should have the title "PostLikes" und the data must be loaded from the server with the following relative URL: "/DirectThreadService/postlike/post/{id}" Add a HTML table to the view with the following DirectMessage columns: - column: Reel - column: MediaUrl - column: Post - column: Sender - column: Story - column: ReplyToMessage - column: DirectThread - column: SeenAt - column: CreatedAt - column: Text - column: MessageType - column: IsSeen The table should have the title "DirectMessages" und the data must be loaded from the server with the following relative URL: "/DirectThreadService/directmessage/post/{id}" Add a HTML table to the view with the following SavedCollectionItem columns: - column: SavedCollection - column: Post - column: AddedAt The table should have the title "SavedCollectionItems" und the data must be loaded from the server with the following relative URL: "/SavedCollectionService/savedcollectionitem/post/{id}" Add a HTML table to the view with the following PostHashtag columns: - column: Hashtag - column: Post The table should have the title "PostHashtags" und the data must be loaded from the server with the following relative URL: "/HashtagService/posthashtag/post/{id}" Add a HTML table to the view with the following Notification columns: - column: Post - column: Story - column: SourceUser - column: Reel - column: Type - column: Comment - column: DirectMessage - column: IsRead - column: CreatedAt - column: UserAccount The table should have the title "Notifications" und the data must be loaded from the server with the following relative URL: "/ReelService/notification/post/{id}" Add a HTML table to the view with the following Comment columns: - column: UpdatedAt - column: UserAccount - column: IsDeleted - column: CreatedAt - column: IsPinned - column: ParentComment - column: Post - column: Text The table should have the title "Comments" und the data must be loaded from the server with the following relative URL: "/StoryService/comment/post/{id}" Add a HTML table to the view with the following PostTag columns: - column: TaggedUser - column: CreatedAt - column: PositionY - column: Post - column: PositionX The table should have the title "PostTags" und the data must be loaded from the server with the following relative URL: "/SavedCollectionService/posttag/post/{id}" Add a HTML table to the view with the following Report columns: - column: ReportedUser - column: Reporter - column: Post - column: CreatedAt - column: Reel - column: Comment - column: Story - column: Status - column: Reason - column: Details - column: UpdatedAt The table should have the title "Reports" und the data must be loaded from the server with the following relative URL: "/StoryService/report/post/{id}" Add a HTML table to the view with the following ArchiveItem columns: - column: UserAccount - column: Post - column: ItemType - column: Story - column: ArchivedAt - column: Reel The table should have the title "ArchiveItems" und the data must be loaded from the server with the following relative URL: "/StoryService/archiveitem/post/{id}" Add a HTML table to the view with the following AdPlacement columns: - column: Post - column: Clicks - column: Impressions - column: CreatedAt - column: Reel - column: AdCampaign - column: PlacementType - column: Story The table should have the title "AdPlacements" und the data must be loaded from the server with the following relative URL: "/StoryService/adplacement/post/{id}" 5. The ReelLikeView must contain the following fields: - name: CreatedAt type: DATE - name: Reel type: Reel - name: UserAccount type: UserAccount The data source for the [Reel] select control should be loaded from the relative URL: "/ReelService/reel" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing ReelLike entity should be loaded from the relative URL: "/UserAccountService/reellike/{id}" (HTTP-GET) If a new ReelLike entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/reellike" (HTTP-POST) If an existing ReelLike entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/reellike/{id}" (HTTP-PUT) If an existing ReelLike entity has to be deleted, the following relative URL should be called: "/UserAccountService/reellike/{id}" (HTTP-DELETE) 6. The UserAccountView must contain the following fields: - name: AccountStatus type: STRING - name: Bio type: STRING - name: Country type: STRING - name: CreatedAt type: DATE - name: DateOfBirth type: DATE - name: Email type: STRING - name: FullName type: STRING - name: IsPrivate type: BOOL - name: IsVerified type: BOOL - name: PasswordHash type: STRING - name: UpdatedAt type: DATE - name: Username type: STRING - name: Website type: STRING 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 UserFeatureFlag columns: - column: IsEnabled - column: CreatedAt - column: UserAccount - column: FeatureFlag The table should have the title "UserFeatureFlags" und the data must be loaded from the server with the following relative URL: "/FeatureFlagService/userfeatureflag/useraccount/{id}" Add a HTML table to the view with the following DirectMessage columns: - column: Reel - column: MediaUrl - column: Post - column: Sender - column: Story - column: ReplyToMessage - column: DirectThread - column: SeenAt - column: CreatedAt - column: Text - column: MessageType - column: IsSeen The table should have the title "DirectMessages" und the data must be loaded from the server with the following relative URL: "/DirectThreadService/directmessage/sender/{id}" Add a HTML table to the view with the following ReelView columns: - column: ViewDurationSeconds - column: UserAccount - column: ViewedAt - column: Reel The table should have the title "ReelViews" und the data must be loaded from the server with the following relative URL: "/ReelService/reelview/useraccount/{id}" Add a HTML table to the view with the following ReelLike columns: - column: UserAccount - column: CreatedAt - column: Reel The table should have the title "ReelLikes" und the data must be loaded from the server with the following relative URL: "/UserAccountService/reellike/useraccount/{id}" Add a HTML table to the view with the following UserHashtagFollow columns: - column: UserAccount - column: CreatedAt - column: Hashtag The table should have the title "UserHashtagFollows" und the data must be loaded from the server with the following relative URL: "/HashtagService/userhashtagfollow/useraccount/{id}" Add a HTML table to the view with the following Story columns: - column: Caption - column: ExpiresAt - column: UserAccount - column: IsCloseFriendsOnly - column: IsHighlight - column: HighlightTitle - column: CreatedAt The table should have the title "Storys" und the data must be loaded from the server with the following relative URL: "/StoryService/story/useraccount/{id}" Add a HTML table to the view with the following Notification columns: - column: Post - column: Story - column: SourceUser - column: Reel - column: Type - column: Comment - column: DirectMessage - column: IsRead - column: CreatedAt - column: UserAccount The table should have the title "Notifications" und the data must be loaded from the server with the following relative URL: "/ReelService/notification/useraccount/{id}" Add a HTML table to the view with the following Notification columns: - column: Post - column: Story - column: SourceUser - column: Reel - column: Type - column: Comment - column: DirectMessage - column: IsRead - column: CreatedAt - column: UserAccount The table should have the title "Notifications" und the data must be loaded from the server with the following relative URL: "/ReelService/notification/sourceuser/{id}" Add a HTML table to the view with the following PostTag columns: - column: TaggedUser - column: CreatedAt - column: PositionY - column: Post - column: PositionX The table should have the title "PostTags" und the data must be loaded from the server with the following relative URL: "/SavedCollectionService/posttag/taggeduser/{id}" Add a HTML table to the view with the following IGTVVideo columns: - column: Title - column: Description - column: DurationSeconds - column: UpdatedAt - column: UserAccount - column: SeriesTitle - column: CreatedAt The table should have the title "IGTVVideos" und the data must be loaded from the server with the following relative URL: "/LanguageService/igtvvideo/useraccount/{id}" Add a HTML table to the view with the following Device columns: - column: LastActiveAt - column: IsPushEnabled - column: CreatedAt - column: OsVersion - column: UserAccount - column: AppVersion - column: Platform The table should have the title "Devices" und the data must be loaded from the server with the following relative URL: "/DirectThreadService/device/useraccount/{id}" Add a HTML table to the view with the following UserLanguage columns: - column: UserAccount - column: IsPrimary - column: Language The table should have the title "UserLanguages" und the data must be loaded from the server with the following relative URL: "/LanguageService/userlanguage/useraccount/{id}" Add a HTML table to the view with the following PostLike columns: - column: UserAccount - column: Post - column: CreatedAt The table should have the title "PostLikes" und the data must be loaded from the server with the following relative URL: "/DirectThreadService/postlike/useraccount/{id}" Add a HTML table to the view with the following Reel columns: - column: Caption - column: DurationSeconds - column: CreatedAt - column: UserAccount - column: IsRemixAllowed - column: AudioTrack - column: UpdatedAt - column: Visibility The table should have the title "Reels" und the data must be loaded from the server with the following relative URL: "/ReelService/reel/useraccount/{id}" Add a HTML table to the view with the following StoryView columns: - column: ViewedAt - column: Story - column: Viewer The table should have the title "StoryViews" und the data must be loaded from the server with the following relative URL: "/FeatureFlagService/storyview/viewer/{id}" Add a HTML table to the view with the following SavedCollection columns: - column: CreatedAt - column: UserAccount - column: Name The table should have the title "SavedCollections" und the data must be loaded from the server with the following relative URL: "/SavedCollectionService/savedcollection/useraccount/{id}" Add a HTML table to the view with the following CommentLike columns: - column: CreatedAt - column: Comment - column: UserAccount The table should have the title "CommentLikes" und the data must be loaded from the server with the following relative URL: "/UserAccountService/commentlike/useraccount/{id}" Add a HTML table to the view with the following Comment columns: - column: UpdatedAt - column: UserAccount - column: IsDeleted - column: CreatedAt - column: IsPinned - column: ParentComment - column: Post - column: Text The table should have the title "Comments" und the data must be loaded from the server with the following relative URL: "/StoryService/comment/useraccount/{id}" Add a HTML table to the view with the following Report columns: - column: ReportedUser - column: Reporter - column: Post - column: CreatedAt - column: Reel - column: Comment - column: Story - column: Status - column: Reason - column: Details - column: UpdatedAt The table should have the title "Reports" und the data must be loaded from the server with the following relative URL: "/StoryService/report/reporter/{id}" Add a HTML table to the view with the following Report columns: - column: ReportedUser - column: Reporter - column: Post - column: CreatedAt - column: Reel - column: Comment - column: Story - column: Status - column: Reason - column: Details - column: UpdatedAt The table should have the title "Reports" und the data must be loaded from the server with the following relative URL: "/StoryService/report/reporteduser/{id}" Add a HTML table to the view with the following DirectThreadParticipant columns: - column: UserAccount - column: DirectThread - column: JoinedAt - column: IsAdmin The table should have the title "DirectThreadParticipants" und the data must be loaded from the server with the following relative URL: "/UserAccountService/directthreadparticipant/useraccount/{id}" Add a HTML table to the view with the following FollowRelation columns: - column: Follower - column: IsCloseFriend - column: Followed - column: CreatedAt The table should have the title "FollowRelations" und the data must be loaded from the server with the following relative URL: "/HashtagService/followrelation/follower/{id}" Add a HTML table to the view with the following FollowRelation columns: - column: Follower - column: IsCloseFriend - column: Followed - column: CreatedAt The table should have the title "FollowRelations" und the data must be loaded from the server with the following relative URL: "/HashtagService/followrelation/followed/{id}" Add a HTML table to the view with the following ArchiveItem columns: - column: UserAccount - column: Post - column: ItemType - column: Story - column: ArchivedAt - column: Reel The table should have the title "ArchiveItems" und the data must be loaded from the server with the following relative URL: "/StoryService/archiveitem/useraccount/{id}" Add a HTML table to the view with the following Post columns: - column: Location - column: IsSponsored - column: CreatedAt - column: Visibility - column: Caption - column: UserAccount - column: UpdatedAt - column: IsArchived - column: MediaType The table should have the title "Posts" und the data must be loaded from the server with the following relative URL: "/UserAccountService/post/useraccount/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint