Overview
Summary
Contact
Donate
Imprint
Prompt for the
GameView
Please create a React-JS view called "GameView" for the fields of the Game entity. The GameView must contain the following fields: - name: Category type: STRING - name: Description type: STRING - name: Name type: STRING - name: Url type: STRING An existing Game entity should be loaded from the relative URL: "/GameService/game/{id}" (HTTP-GET) If a new Game entity has been created, the new entity should be posted to the relative URL: "/GameService/game" (HTTP-POST) If an existing Game entity has been updated, the modified entity should be sent to the relative URL: "/GameService/game/{id}" (HTTP-PUT) If an existing Game entity has to be deleted, the following relative URL should be called: "/GameService/game/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GameSession columns: - column: Score - column: User - column: Game - column: StartedAt - column: EndedAt The table should have the title "GameSessions" und the data must be loaded from the server with the following relative URL: "/GameService/gamesession/game/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint