Overview
Summary
Contact
Donate
Imprint
Prompt for the
CommunityView
Please create a React-JS view called "CommunityView" for the fields of the Community entity. The CommunityView must contain the following fields: - name: CreatedAt type: STRING - name: CreatorUser type: UserAccount - name: Description type: STRING - name: IsPrivate type: BOOL - name: Name type: STRING - name: Rules type: STRING The data source for the [CreatorUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Community entity should be loaded from the relative URL: "/UserAccountService/community/{id}" (HTTP-GET) If a new Community entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/community" (HTTP-POST) If an existing Community entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/community/{id}" (HTTP-PUT) If an existing Community entity has to be deleted, the following relative URL should be called: "/UserAccountService/community/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CommunityMembership columns: - column: Role - column: Community - column: JoinedAt - column: User - column: LeftAt The table should have the title "CommunityMemberships" und the data must be loaded from the server with the following relative URL: "/ListService/communitymembership/community/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint