Overview
Summary
Contact
Donate
Imprint
Prompt for the
StickerPackApp
Please create a React-JS application for the StickerPackModule. The application has to offer the following views for the user interface: 1. GroupMemberView 2. StickerView 3. StickerPackView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The GroupMemberView must contain the following fields: - name: GroupChat type: GroupChat - name: IsBanned type: BOOL - name: JoinedAt type: DATE - name: LeftAt type: DATE - name: Role type: STRING - name: UserAccount type: UserAccount The data source for the [GroupChat] select control should be loaded from the relative URL: "/ConversationService/groupchat" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing GroupMember entity should be loaded from the relative URL: "/StickerPackService/groupmember/{id}" (HTTP-GET) If a new GroupMember entity has been created, the new entity should be posted to the relative URL: "/StickerPackService/groupmember" (HTTP-POST) If an existing GroupMember entity has been updated, the modified entity should be sent to the relative URL: "/StickerPackService/groupmember/{id}" (HTTP-PUT) If an existing GroupMember entity has to be deleted, the following relative URL should be called: "/StickerPackService/groupmember/{id}" (HTTP-DELETE) 2. The StickerView must contain the following fields: - name: CreatedAt type: DATE - name: EmojiShortcut type: STRING - name: EncryptionKey type: STRING - name: ImageUrl type: STRING - name: IndexInPack type: INT - name: StickerPack type: StickerPack The data source for the [StickerPack] select control should be loaded from the relative URL: "/StickerPackService/stickerpack" (HTTP-GET) An existing Sticker entity should be loaded from the relative URL: "/StickerPackService/sticker/{id}" (HTTP-GET) If a new Sticker entity has been created, the new entity should be posted to the relative URL: "/StickerPackService/sticker" (HTTP-POST) If an existing Sticker entity has been updated, the modified entity should be sent to the relative URL: "/StickerPackService/sticker/{id}" (HTTP-PUT) If an existing Sticker entity has to be deleted, the following relative URL should be called: "/StickerPackService/sticker/{id}" (HTTP-DELETE) 3. The StickerPackView must contain the following fields: - name: CoverStickerIndex type: INT - name: CreatedAt type: DATE - name: CreatorUserAccount type: LONG - name: Description type: STRING - name: EncryptionKey type: STRING - name: IsOfficial type: BOOL - name: ManifestUrl type: STRING - name: Title type: STRING An existing StickerPack entity should be loaded from the relative URL: "/StickerPackService/stickerpack/{id}" (HTTP-GET) If a new StickerPack entity has been created, the new entity should be posted to the relative URL: "/StickerPackService/stickerpack" (HTTP-POST) If an existing StickerPack entity has been updated, the modified entity should be sent to the relative URL: "/StickerPackService/stickerpack/{id}" (HTTP-PUT) If an existing StickerPack entity has to be deleted, the following relative URL should be called: "/StickerPackService/stickerpack/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Sticker columns: - column: StickerPack - column: ImageUrl - column: EncryptionKey - column: EmojiShortcut - column: CreatedAt - column: IndexInPack The table should have the title "Stickers" und the data must be loaded from the server with the following relative URL: "/StickerPackService/sticker/stickerpack/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint