Overview
Summary
Contact
Donate
Imprint
Prompt for the
ProductionCompanyApp
Please create a React-JS application for the ProductionCompanyModule. The application has to offer the following views for the user interface: 1. ContentRatingView 2. ProductionCompanyView 3. RatingSystemView 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 ContentRatingView must contain the following fields: - name: RatingCode type: STRING - name: RatingDescription type: STRING - name: RatingSystem type: RatingSystem - name: Title type: Title The data source for the [RatingSystem] select control should be loaded from the relative URL: "/ProductionCompanyService/ratingsystem" (HTTP-GET) The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) An existing ContentRating entity should be loaded from the relative URL: "/ProductionCompanyService/contentrating/{id}" (HTTP-GET) If a new ContentRating entity has been created, the new entity should be posted to the relative URL: "/ProductionCompanyService/contentrating" (HTTP-POST) If an existing ContentRating entity has been updated, the modified entity should be sent to the relative URL: "/ProductionCompanyService/contentrating/{id}" (HTTP-PUT) If an existing ContentRating entity has to be deleted, the following relative URL should be called: "/ProductionCompanyService/contentrating/{id}" (HTTP-DELETE) 2. The ProductionCompanyView must contain the following fields: - name: Country type: Country - name: Description type: STRING - name: Name type: STRING - name: Website type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/TitleService/country" (HTTP-GET) An existing ProductionCompany entity should be loaded from the relative URL: "/ProductionCompanyService/productioncompany/{id}" (HTTP-GET) If a new ProductionCompany entity has been created, the new entity should be posted to the relative URL: "/ProductionCompanyService/productioncompany" (HTTP-POST) If an existing ProductionCompany entity has been updated, the modified entity should be sent to the relative URL: "/ProductionCompanyService/productioncompany/{id}" (HTTP-PUT) If an existing ProductionCompany entity has to be deleted, the following relative URL should be called: "/ProductionCompanyService/productioncompany/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TitleProductionCompany columns: - column: ProductionCompany - column: Title - column: Role The table should have the title "TitleProductionCompanys" und the data must be loaded from the server with the following relative URL: "/TitleService/titleproductioncompany/productioncompany/{id}" 3. The RatingSystemView must contain the following fields: - name: Country type: Country - name: Description type: STRING - name: Name type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/TitleService/country" (HTTP-GET) An existing RatingSystem entity should be loaded from the relative URL: "/ProductionCompanyService/ratingsystem/{id}" (HTTP-GET) If a new RatingSystem entity has been created, the new entity should be posted to the relative URL: "/ProductionCompanyService/ratingsystem" (HTTP-POST) If an existing RatingSystem entity has been updated, the modified entity should be sent to the relative URL: "/ProductionCompanyService/ratingsystem/{id}" (HTTP-PUT) If an existing RatingSystem entity has to be deleted, the following relative URL should be called: "/ProductionCompanyService/ratingsystem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ContentRating columns: - column: Title - column: RatingSystem - column: RatingDescription - column: RatingCode The table should have the title "ContentRatings" und the data must be loaded from the server with the following relative URL: "/ProductionCompanyService/contentrating/ratingsystem/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint