Overview
Summary
Contact
Donate
Imprint
Prompt for the
RecommendationAlgorithmApp
Please create a React-JS application for the RecommendationAlgorithmModule. The application has to offer the following views for the user interface: 1. PrizeCompetitionView 2. PrizeTeamView 3. RecommendationAlgorithmView 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 PrizeCompetitionView must contain the following fields: - name: Currency type: STRING - name: Description type: STRING - name: EndDate type: DATE - name: Name type: STRING - name: PrizeAmount type: STRING - name: RecommendationAlgorithm type: RecommendationAlgorithm - name: StartDate type: DATE The data source for the [RecommendationAlgorithm] select control should be loaded from the relative URL: "/RecommendationAlgorithmService/recommendationalgorithm" (HTTP-GET) An existing PrizeCompetition entity should be loaded from the relative URL: "/RecommendationAlgorithmService/prizecompetition/{id}" (HTTP-GET) If a new PrizeCompetition entity has been created, the new entity should be posted to the relative URL: "/RecommendationAlgorithmService/prizecompetition" (HTTP-POST) If an existing PrizeCompetition entity has been updated, the modified entity should be sent to the relative URL: "/RecommendationAlgorithmService/prizecompetition/{id}" (HTTP-PUT) If an existing PrizeCompetition entity has to be deleted, the following relative URL should be called: "/RecommendationAlgorithmService/prizecompetition/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PrizeTeam columns: - column: Name - column: Country - column: PrizeCompetition - column: Notes The table should have the title "PrizeTeams" und the data must be loaded from the server with the following relative URL: "/RecommendationAlgorithmService/prizeteam/prizecompetition/{id}" 2. The PrizeTeamView must contain the following fields: - name: Country type: Country - name: Name type: STRING - name: Notes type: STRING - name: PrizeCompetition type: PrizeCompetition The data source for the [PrizeCompetition] select control should be loaded from the relative URL: "/RecommendationAlgorithmService/prizecompetition" (HTTP-GET) The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing PrizeTeam entity should be loaded from the relative URL: "/RecommendationAlgorithmService/prizeteam/{id}" (HTTP-GET) If a new PrizeTeam entity has been created, the new entity should be posted to the relative URL: "/RecommendationAlgorithmService/prizeteam" (HTTP-POST) If an existing PrizeTeam entity has been updated, the modified entity should be sent to the relative URL: "/RecommendationAlgorithmService/prizeteam/{id}" (HTTP-PUT) If an existing PrizeTeam entity has to be deleted, the following relative URL should be called: "/RecommendationAlgorithmService/prizeteam/{id}" (HTTP-DELETE) 3. The RecommendationAlgorithmView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: IntroducedDate type: DATE - name: Name type: STRING - name: RetiredDate type: DATE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing RecommendationAlgorithm entity should be loaded from the relative URL: "/RecommendationAlgorithmService/recommendationalgorithm/{id}" (HTTP-GET) If a new RecommendationAlgorithm entity has been created, the new entity should be posted to the relative URL: "/RecommendationAlgorithmService/recommendationalgorithm" (HTTP-POST) If an existing RecommendationAlgorithm entity has been updated, the modified entity should be sent to the relative URL: "/RecommendationAlgorithmService/recommendationalgorithm/{id}" (HTTP-PUT) If an existing RecommendationAlgorithm entity has to be deleted, the following relative URL should be called: "/RecommendationAlgorithmService/recommendationalgorithm/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RecommendationEvent columns: - column: RatingValue - column: EventType - column: EventDate - column: UserProfile - column: ContentTitle - column: RecommendationAlgorithm The table should have the title "RecommendationEvents" und the data must be loaded from the server with the following relative URL: "/UserProfileService/recommendationevent/recommendationalgorithm/{id}" Add a HTML table to the view with the following PrizeCompetition columns: - column: StartDate - column: PrizeAmount - column: Name - column: Description - column: Currency - column: RecommendationAlgorithm - column: EndDate The table should have the title "PrizeCompetitions" und the data must be loaded from the server with the following relative URL: "/RecommendationAlgorithmService/prizecompetition/recommendationalgorithm/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint