Overview
Summary
Contact
Donate
Imprint
Prompt for the
GenreApp
Please create a React-JS application for the GenreModule. The application has to offer the following views for the user interface: 1. GenreView 2. TitleCastView 3. TitleGenreView 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 GenreView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing Genre entity should be loaded from the relative URL: "/GenreService/genre/{id}" (HTTP-GET) If a new Genre entity has been created, the new entity should be posted to the relative URL: "/GenreService/genre" (HTTP-POST) If an existing Genre entity has been updated, the modified entity should be sent to the relative URL: "/GenreService/genre/{id}" (HTTP-PUT) If an existing Genre entity has to be deleted, the following relative URL should be called: "/GenreService/genre/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TitleGenre columns: - column: Genre - column: Title The table should have the title "TitleGenres" und the data must be loaded from the server with the following relative URL: "/GenreService/titlegenre/genre/{id}" 2. The TitleCastView must contain the following fields: - name: BillingOrder type: LONG - name: CharacterName type: STRING - name: IsVoiceRole type: BOOL - name: Person type: Person - name: Title type: Title The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing TitleCast entity should be loaded from the relative URL: "/GenreService/titlecast/{id}" (HTTP-GET) If a new TitleCast entity has been created, the new entity should be posted to the relative URL: "/GenreService/titlecast" (HTTP-POST) If an existing TitleCast entity has been updated, the modified entity should be sent to the relative URL: "/GenreService/titlecast/{id}" (HTTP-PUT) If an existing TitleCast entity has to be deleted, the following relative URL should be called: "/GenreService/titlecast/{id}" (HTTP-DELETE) 3. The TitleGenreView must contain the following fields: - name: Genre type: Genre - name: Title type: Title The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) The data source for the [Genre] select control should be loaded from the relative URL: "/GenreService/genre" (HTTP-GET) An existing TitleGenre entity should be loaded from the relative URL: "/GenreService/titlegenre/{id}" (HTTP-GET) If a new TitleGenre entity has been created, the new entity should be posted to the relative URL: "/GenreService/titlegenre" (HTTP-POST) If an existing TitleGenre entity has been updated, the modified entity should be sent to the relative URL: "/GenreService/titlegenre/{id}" (HTTP-PUT) If an existing TitleGenre entity has to be deleted, the following relative URL should be called: "/GenreService/titlegenre/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint