Overview
Summary
Contact
Donate
Imprint
Prompt for the
VideoFormatApp
Please create a React-JS application for the VideoFormatModule. The application has to offer the following views for the user interface: 1. TitleVideoFormatView 2. UserRatingView 3. VideoFormatView 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 TitleVideoFormatView must contain the following fields: - name: Title type: Title - name: VideoFormat type: VideoFormat The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) The data source for the [VideoFormat] select control should be loaded from the relative URL: "/VideoFormatService/videoformat" (HTTP-GET) An existing TitleVideoFormat entity should be loaded from the relative URL: "/VideoFormatService/titlevideoformat/{id}" (HTTP-GET) If a new TitleVideoFormat entity has been created, the new entity should be posted to the relative URL: "/VideoFormatService/titlevideoformat" (HTTP-POST) If an existing TitleVideoFormat entity has been updated, the modified entity should be sent to the relative URL: "/VideoFormatService/titlevideoformat/{id}" (HTTP-PUT) If an existing TitleVideoFormat entity has to be deleted, the following relative URL should be called: "/VideoFormatService/titlevideoformat/{id}" (HTTP-DELETE) 2. The UserRatingView must contain the following fields: - name: Profile type: Profile - name: RatedAt type: STRING - name: RatingValue type: LONG - 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 [Profile] select control should be loaded from the relative URL: "/ProfileService/profile" (HTTP-GET) An existing UserRating entity should be loaded from the relative URL: "/VideoFormatService/userrating/{id}" (HTTP-GET) If a new UserRating entity has been created, the new entity should be posted to the relative URL: "/VideoFormatService/userrating" (HTTP-POST) If an existing UserRating entity has been updated, the modified entity should be sent to the relative URL: "/VideoFormatService/userrating/{id}" (HTTP-PUT) If an existing UserRating entity has to be deleted, the following relative URL should be called: "/VideoFormatService/userrating/{id}" (HTTP-DELETE) 3. The VideoFormatView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing VideoFormat entity should be loaded from the relative URL: "/VideoFormatService/videoformat/{id}" (HTTP-GET) If a new VideoFormat entity has been created, the new entity should be posted to the relative URL: "/VideoFormatService/videoformat" (HTTP-POST) If an existing VideoFormat entity has been updated, the modified entity should be sent to the relative URL: "/VideoFormatService/videoformat/{id}" (HTTP-PUT) If an existing VideoFormat entity has to be deleted, the following relative URL should be called: "/VideoFormatService/videoformat/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TitleVideoFormat columns: - column: VideoFormat - column: Title The table should have the title "TitleVideoFormats" und the data must be loaded from the server with the following relative URL: "/VideoFormatService/titlevideoformat/videoformat/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint