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. IGTVVideoView 2. LanguageView 3. UserLanguageView 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 IGTVVideoView must contain the following fields: - name: CreatedAt type: DATE - name: Description type: STRING - name: DurationSeconds type: LONG - name: SeriesTitle type: STRING - name: Title type: STRING - name: UpdatedAt type: DATE - name: UserAccount type: UserAccount The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing IGTVVideo entity should be loaded from the relative URL: "/LanguageService/igtvvideo/{id}" (HTTP-GET) If a new IGTVVideo entity has been created, the new entity should be posted to the relative URL: "/LanguageService/igtvvideo" (HTTP-POST) If an existing IGTVVideo entity has been updated, the modified entity should be sent to the relative URL: "/LanguageService/igtvvideo/{id}" (HTTP-PUT) If an existing IGTVVideo entity has to be deleted, the following relative URL should be called: "/LanguageService/igtvvideo/{id}" (HTTP-DELETE) 2. The LanguageView must contain the following fields: - name: Code type: STRING - name: Name 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 UserLanguage columns: - column: UserAccount - column: IsPrimary - column: Language The table should have the title "UserLanguages" und the data must be loaded from the server with the following relative URL: "/LanguageService/userlanguage/language/{id}" 3. The UserLanguageView must contain the following fields: - name: IsPrimary type: BOOL - name: Language type: Language - name: UserAccount type: UserAccount The data source for the [Language] select control should be loaded from the relative URL: "/LanguageService/language" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing UserLanguage entity should be loaded from the relative URL: "/LanguageService/userlanguage/{id}" (HTTP-GET) If a new UserLanguage entity has been created, the new entity should be posted to the relative URL: "/LanguageService/userlanguage" (HTTP-POST) If an existing UserLanguage entity has been updated, the modified entity should be sent to the relative URL: "/LanguageService/userlanguage/{id}" (HTTP-PUT) If an existing UserLanguage entity has to be deleted, the following relative URL should be called: "/LanguageService/userlanguage/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint