Overview
Summary
Contact
Donate
Imprint
Prompt for the
SavedCollectionApp
Please create a React-JS application for the SavedCollectionModule. The application has to offer the following views for the user interface: 1. PostTagView 2. SavedCollectionView 3. SavedCollectionItemView 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 PostTagView must contain the following fields: - name: CreatedAt type: DATE - name: PositionX type: STRING - name: PositionY type: STRING - name: Post type: Post - name: TaggedUser type: UserAccount The data source for the [TaggedUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [Post] select control should be loaded from the relative URL: "/UserAccountService/post" (HTTP-GET) An existing PostTag entity should be loaded from the relative URL: "/SavedCollectionService/posttag/{id}" (HTTP-GET) If a new PostTag entity has been created, the new entity should be posted to the relative URL: "/SavedCollectionService/posttag" (HTTP-POST) If an existing PostTag entity has been updated, the modified entity should be sent to the relative URL: "/SavedCollectionService/posttag/{id}" (HTTP-PUT) If an existing PostTag entity has to be deleted, the following relative URL should be called: "/SavedCollectionService/posttag/{id}" (HTTP-DELETE) 2. The SavedCollectionView must contain the following fields: - name: CreatedAt type: DATE - name: Name type: STRING - name: UserAccount type: UserAccount The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing SavedCollection entity should be loaded from the relative URL: "/SavedCollectionService/savedcollection/{id}" (HTTP-GET) If a new SavedCollection entity has been created, the new entity should be posted to the relative URL: "/SavedCollectionService/savedcollection" (HTTP-POST) If an existing SavedCollection entity has been updated, the modified entity should be sent to the relative URL: "/SavedCollectionService/savedcollection/{id}" (HTTP-PUT) If an existing SavedCollection entity has to be deleted, the following relative URL should be called: "/SavedCollectionService/savedcollection/{id}" (HTTP-DELETE) 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/savedcollection/{id}" 3. The SavedCollectionItemView must contain the following fields: - name: AddedAt type: DATE - name: Post type: Post - name: SavedCollection type: SavedCollection The data source for the [SavedCollection] select control should be loaded from the relative URL: "/SavedCollectionService/savedcollection" (HTTP-GET) The data source for the [Post] select control should be loaded from the relative URL: "/UserAccountService/post" (HTTP-GET) An existing SavedCollectionItem entity should be loaded from the relative URL: "/SavedCollectionService/savedcollectionitem/{id}" (HTTP-GET) If a new SavedCollectionItem entity has been created, the new entity should be posted to the relative URL: "/SavedCollectionService/savedcollectionitem" (HTTP-POST) If an existing SavedCollectionItem entity has been updated, the modified entity should be sent to the relative URL: "/SavedCollectionService/savedcollectionitem/{id}" (HTTP-PUT) If an existing SavedCollectionItem entity has to be deleted, the following relative URL should be called: "/SavedCollectionService/savedcollectionitem/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint