Overview
Summary
Contact
Donate
Imprint
Prompt for the
StoreApp
Please create a React-JS application for the StoreModule. The application has to offer the following views for the user interface: 1. GameView 2. ProtestMovementView 3. StoreView 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 GameView must contain the following fields: - name: Developer type: STRING - name: IsExclusive type: BOOL - name: Publisher type: STRING - name: ReleaseDate type: DATE - name: RevenueSharePercent type: DOUBLE - name: Store type: Store - name: Title type: STRING The data source for the [Store] select control should be loaded from the relative URL: "/StoreService/store" (HTTP-GET) An existing Game entity should be loaded from the relative URL: "/StoreService/game/{id}" (HTTP-GET) If a new Game entity has been created, the new entity should be posted to the relative URL: "/StoreService/game" (HTTP-POST) If an existing Game entity has been updated, the modified entity should be sent to the relative URL: "/StoreService/game/{id}" (HTTP-PUT) If an existing Game entity has to be deleted, the following relative URL should be called: "/StoreService/game/{id}" (HTTP-DELETE) 2. The ProtestMovementView must contain the following fields: - name: Country type: STRING - name: Description type: STRING - name: Name type: STRING - name: StartDate type: DATE - name: UsesDiscord type: BOOL An existing ProtestMovement entity should be loaded from the relative URL: "/StoreService/protestmovement/{id}" (HTTP-GET) If a new ProtestMovement entity has been created, the new entity should be posted to the relative URL: "/StoreService/protestmovement" (HTTP-POST) If an existing ProtestMovement entity has been updated, the modified entity should be sent to the relative URL: "/StoreService/protestmovement/{id}" (HTTP-PUT) If an existing ProtestMovement entity has to be deleted, the following relative URL should be called: "/StoreService/protestmovement/{id}" (HTTP-DELETE) 3. The StoreView must contain the following fields: - name: Description type: STRING - name: LaunchDate type: DATE - name: Name type: STRING - name: ShutdownDate type: DATE An existing Store entity should be loaded from the relative URL: "/StoreService/store/{id}" (HTTP-GET) If a new Store entity has been created, the new entity should be posted to the relative URL: "/StoreService/store" (HTTP-POST) If an existing Store entity has been updated, the modified entity should be sent to the relative URL: "/StoreService/store/{id}" (HTTP-PUT) If an existing Store entity has to be deleted, the following relative URL should be called: "/StoreService/store/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Game columns: - column: Publisher - column: RevenueSharePercent - column: Title - column: IsExclusive - column: ReleaseDate - column: Developer - column: Store The table should have the title "Games" und the data must be loaded from the server with the following relative URL: "/StoreService/game/store/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint