Overview
Summary
Contact
Donate
Imprint
Prompt for the
LanguageApp
Please create a React-JS application for the LanguageModule. The application has to offer the following views for the user interface: 1. AudioTrackView 2. LanguageView 3. SubtitleTrackView 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 AudioTrackView must contain the following fields: - name: ChannelLayout type: STRING - name: Codec type: STRING - name: Description type: STRING - name: IsOriginal type: BOOL - name: Language type: Language - name: Title type: Title The data source for the [Language] select control should be loaded from the relative URL: "/LanguageService/language" (HTTP-GET) The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) An existing AudioTrack entity should be loaded from the relative URL: "/LanguageService/audiotrack/{id}" (HTTP-GET) If a new AudioTrack entity has been created, the new entity should be posted to the relative URL: "/LanguageService/audiotrack" (HTTP-POST) If an existing AudioTrack entity has been updated, the modified entity should be sent to the relative URL: "/LanguageService/audiotrack/{id}" (HTTP-PUT) If an existing AudioTrack entity has to be deleted, the following relative URL should be called: "/LanguageService/audiotrack/{id}" (HTTP-DELETE) 2. The LanguageView must contain the following fields: - name: IsoCode2 type: STRING - name: IsoCode3 type: STRING - name: Name type: STRING - name: Script type: STRING An existing Language entity should be loaded from the relative URL: "/LanguageService/language/{id}" (HTTP-GET) If a new Language entity has been created, the new entity should be posted to the relative URL: "/LanguageService/language" (HTTP-POST) If an existing Language entity has been updated, the modified entity should be sent to the relative URL: "/LanguageService/language/{id}" (HTTP-PUT) If an existing Language entity has to be deleted, the following relative URL should be called: "/LanguageService/language/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SubtitleTrack columns: - column: Language - column: Format - column: IsClosedCaption - column: Description - column: Title The table should have the title "SubtitleTracks" und the data must be loaded from the server with the following relative URL: "/LanguageService/subtitletrack/language/{id}" Add a HTML table to the view with the following Title columns: - column: ExternalReference - column: ProductionCountry - column: Name - column: OriginalName - column: RuntimeMinutes - column: ReleaseDate - column: ImdbId - column: OriginalLanguage - column: Synopsis - column: IsOriginalProduction - column: Type The table should have the title "Titles" und the data must be loaded from the server with the following relative URL: "/TitleService/title/originallanguage/{id}" Add a HTML table to the view with the following AudioTrack columns: - column: Description - column: Title - column: Codec - column: IsOriginal - column: Language - column: ChannelLayout The table should have the title "AudioTracks" und the data must be loaded from the server with the following relative URL: "/LanguageService/audiotrack/language/{id}" 3. The SubtitleTrackView must contain the following fields: - name: Description type: STRING - name: Format type: STRING - name: IsClosedCaption type: BOOL - name: Language type: Language - name: Title type: Title The data source for the [Language] select control should be loaded from the relative URL: "/LanguageService/language" (HTTP-GET) The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) An existing SubtitleTrack entity should be loaded from the relative URL: "/LanguageService/subtitletrack/{id}" (HTTP-GET) If a new SubtitleTrack entity has been created, the new entity should be posted to the relative URL: "/LanguageService/subtitletrack" (HTTP-POST) If an existing SubtitleTrack entity has been updated, the modified entity should be sent to the relative URL: "/LanguageService/subtitletrack/{id}" (HTTP-PUT) If an existing SubtitleTrack entity has to be deleted, the following relative URL should be called: "/LanguageService/subtitletrack/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint