Overview
Summary
Contact
Donate
Imprint
Prompt for the
HashtagApp
Please create a React-JS application for the HashtagModule. The application has to offer the following views for the user interface: 1. FollowRelationView 2. HashtagView 3. PostHashtagView 4. UserHashtagFollowView 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 FollowRelationView must contain the following fields: - name: CreatedAt type: DATE - name: Followed type: UserAccount - name: Follower type: UserAccount - name: IsCloseFriend type: BOOL The data source for the [Followed] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [Follower] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing FollowRelation entity should be loaded from the relative URL: "/HashtagService/followrelation/{id}" (HTTP-GET) If a new FollowRelation entity has been created, the new entity should be posted to the relative URL: "/HashtagService/followrelation" (HTTP-POST) If an existing FollowRelation entity has been updated, the modified entity should be sent to the relative URL: "/HashtagService/followrelation/{id}" (HTTP-PUT) If an existing FollowRelation entity has to be deleted, the following relative URL should be called: "/HashtagService/followrelation/{id}" (HTTP-DELETE) 2. The HashtagView must contain the following fields: - name: CreatedAt type: DATE - name: Description type: STRING - name: IsBanned type: BOOL - name: Name type: STRING An existing Hashtag entity should be loaded from the relative URL: "/HashtagService/hashtag/{id}" (HTTP-GET) If a new Hashtag entity has been created, the new entity should be posted to the relative URL: "/HashtagService/hashtag" (HTTP-POST) If an existing Hashtag entity has been updated, the modified entity should be sent to the relative URL: "/HashtagService/hashtag/{id}" (HTTP-PUT) If an existing Hashtag entity has to be deleted, the following relative URL should be called: "/HashtagService/hashtag/{id}" (HTTP-DELETE) 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/hashtag/{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/hashtag/{id}" 3. The PostHashtagView must contain the following fields: - name: Hashtag type: Hashtag - name: Post type: Post The data source for the [Hashtag] select control should be loaded from the relative URL: "/HashtagService/hashtag" (HTTP-GET) The data source for the [Post] select control should be loaded from the relative URL: "/UserAccountService/post" (HTTP-GET) An existing PostHashtag entity should be loaded from the relative URL: "/HashtagService/posthashtag/{id}" (HTTP-GET) If a new PostHashtag entity has been created, the new entity should be posted to the relative URL: "/HashtagService/posthashtag" (HTTP-POST) If an existing PostHashtag entity has been updated, the modified entity should be sent to the relative URL: "/HashtagService/posthashtag/{id}" (HTTP-PUT) If an existing PostHashtag entity has to be deleted, the following relative URL should be called: "/HashtagService/posthashtag/{id}" (HTTP-DELETE) 4. The UserHashtagFollowView must contain the following fields: - name: CreatedAt type: DATE - name: Hashtag type: Hashtag - name: UserAccount type: UserAccount The data source for the [Hashtag] select control should be loaded from the relative URL: "/HashtagService/hashtag" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing UserHashtagFollow entity should be loaded from the relative URL: "/HashtagService/userhashtagfollow/{id}" (HTTP-GET) If a new UserHashtagFollow entity has been created, the new entity should be posted to the relative URL: "/HashtagService/userhashtagfollow" (HTTP-POST) If an existing UserHashtagFollow entity has been updated, the modified entity should be sent to the relative URL: "/HashtagService/userhashtagfollow/{id}" (HTTP-PUT) If an existing UserHashtagFollow entity has to be deleted, the following relative URL should be called: "/HashtagService/userhashtagfollow/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint