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. LanguageView 2. ReviewView 3. ReviewAspectView 4. ReviewScoreView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The LanguageView must contain the following fields: - name: Code type: STRING - name: IsActive type: BOOL - 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 Review columns: - column: Attraction - column: Text - column: UserAccount - column: Property - column: Booking - column: Language - column: OverallScore - column: AirportTransferProduct - column: CarRentalProduct - column: IsPublic - column: Title - column: CreatedAt The table should have the title "Reviews" und the data must be loaded from the server with the following relative URL: "/LanguageService/review/language/{id}" Add a HTML table to the view with the following UserAccount columns: - column: DefaultCurrency - column: Email - column: CreatedAt - column: PhoneNumber - column: DefaultLanguage - column: PasswordHash - column: IsActive - column: FullName The table should have the title "UserAccounts" und the data must be loaded from the server with the following relative URL: "/UserAccountService/useraccount/defaultlanguage/{id}" 2. The ReviewView must contain the following fields: - name: AirportTransferProduct type: INT - name: Attraction type: INT - name: Booking type: Booking - name: CarRentalProduct type: INT - name: CreatedAt type: DATE - name: IsPublic type: BOOL - name: Language type: Language - name: OverallScore type: STRING - name: Property type: Property - name: Text type: STRING - name: Title type: STRING - 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 [Booking] select control should be loaded from the relative URL: "/BookingService/booking" (HTTP-GET) The data source for the [Property] select control should be loaded from the relative URL: "/PropertyService/property" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Review entity should be loaded from the relative URL: "/LanguageService/review/{id}" (HTTP-GET) If a new Review entity has been created, the new entity should be posted to the relative URL: "/LanguageService/review" (HTTP-POST) If an existing Review entity has been updated, the modified entity should be sent to the relative URL: "/LanguageService/review/{id}" (HTTP-PUT) If an existing Review entity has to be deleted, the following relative URL should be called: "/LanguageService/review/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ReviewScore columns: - column: Score - column: ReviewAspect - column: Review The table should have the title "ReviewScores" und the data must be loaded from the server with the following relative URL: "/LanguageService/reviewscore/review/{id}" 3. The ReviewAspectView must contain the following fields: - name: Code type: STRING - name: Name type: STRING An existing ReviewAspect entity should be loaded from the relative URL: "/LanguageService/reviewaspect/{id}" (HTTP-GET) If a new ReviewAspect entity has been created, the new entity should be posted to the relative URL: "/LanguageService/reviewaspect" (HTTP-POST) If an existing ReviewAspect entity has been updated, the modified entity should be sent to the relative URL: "/LanguageService/reviewaspect/{id}" (HTTP-PUT) If an existing ReviewAspect entity has to be deleted, the following relative URL should be called: "/LanguageService/reviewaspect/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ReviewScore columns: - column: Score - column: ReviewAspect - column: Review The table should have the title "ReviewScores" und the data must be loaded from the server with the following relative URL: "/LanguageService/reviewscore/reviewaspect/{id}" 4. The ReviewScoreView must contain the following fields: - name: Review type: Review - name: ReviewAspect type: ReviewAspect - name: Score type: STRING The data source for the [Review] select control should be loaded from the relative URL: "/LanguageService/review" (HTTP-GET) The data source for the [ReviewAspect] select control should be loaded from the relative URL: "/LanguageService/reviewaspect" (HTTP-GET) An existing ReviewScore entity should be loaded from the relative URL: "/LanguageService/reviewscore/{id}" (HTTP-GET) If a new ReviewScore entity has been created, the new entity should be posted to the relative URL: "/LanguageService/reviewscore" (HTTP-POST) If an existing ReviewScore entity has been updated, the modified entity should be sent to the relative URL: "/LanguageService/reviewscore/{id}" (HTTP-PUT) If an existing ReviewScore entity has to be deleted, the following relative URL should be called: "/LanguageService/reviewscore/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint