Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
AllianceApp
Please create a React-JS application for the AllianceModule. The application has to offer the following views for the user interface: 1. AirlineAllianceView 2. AllianceView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The AirlineAllianceView must contain the following fields: - name: Airline type: Airline - name: Alliance type: Alliance - name: JoinDate type: DATE - name: Status type: STRING The data source for the [Airline] select control should be loaded from the relative URL: "/AirlineService/airline" (HTTP-GET) The data source for the [Alliance] select control should be loaded from the relative URL: "/AllianceService/alliance" (HTTP-GET) An existing AirlineAlliance entity should be loaded from the relative URL: "/AllianceService/airlinealliance/{id}" (HTTP-GET) If a new AirlineAlliance entity has been created, the new entity should be posted to the relative URL: "/AllianceService/airlinealliance" (HTTP-POST) If an existing AirlineAlliance entity has been updated, the modified entity should be sent to the relative URL: "/AllianceService/airlinealliance/{id}" (HTTP-PUT) If an existing AirlineAlliance entity has to be deleted, the following relative URL should be called: "/AllianceService/airlinealliance/{id}" (HTTP-DELETE) 2. The AllianceView must contain the following fields: - name: Description type: STRING - name: FoundedYear type: LONG - name: Name type: STRING An existing Alliance entity should be loaded from the relative URL: "/AllianceService/alliance/{id}" (HTTP-GET) If a new Alliance entity has been created, the new entity should be posted to the relative URL: "/AllianceService/alliance" (HTTP-POST) If an existing Alliance entity has been updated, the modified entity should be sent to the relative URL: "/AllianceService/alliance/{id}" (HTTP-PUT) If an existing Alliance entity has to be deleted, the following relative URL should be called: "/AllianceService/alliance/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AirlineAlliance columns: - column: JoinDate - column: Alliance - column: Airline - column: Status The table should have the title "AirlineAlliances" und the data must be loaded from the server with the following relative URL: "/AllianceService/airlinealliance/alliance/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint