Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SteuerregelApp
Please create a React-JS application for the SteuerregelModule. The application has to offer the following views for the user interface: 1. FotoView 2. KlassifikationView 3. RaumView 4. SteuerregelView 5. UnterkunftSteuerregelView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The FotoView must contain the following fields: - name: Titel type: STRING - name: Unterkunft type: Unterkunft - name: Url type: STRING The data source for the [Unterkunft] select control should be loaded from the relative URL: "/UnterkunftService/unterkunft" (HTTP-GET) An existing Foto entity should be loaded from the relative URL: "/SteuerregelService/foto/{id}" (HTTP-GET) If a new Foto entity has been created, the new entity should be posted to the relative URL: "/SteuerregelService/foto" (HTTP-POST) If an existing Foto entity has been updated, the modified entity should be sent to the relative URL: "/SteuerregelService/foto/{id}" (HTTP-PUT) If an existing Foto entity has to be deleted, the following relative URL should be called: "/SteuerregelService/foto/{id}" (HTTP-DELETE) 2. The KlassifikationView must contain the following fields: - name: GueltigAb type: DATE - name: GueltigBis type: DATE - name: Notizen type: STRING - name: Organisation type: LONG - name: Sterne type: LONG - name: Unterkunft type: Unterkunft The data source for the [Unterkunft] select control should be loaded from the relative URL: "/UnterkunftService/unterkunft" (HTTP-GET) An existing Klassifikation entity should be loaded from the relative URL: "/SteuerregelService/klassifikation/{id}" (HTTP-GET) If a new Klassifikation entity has been created, the new entity should be posted to the relative URL: "/SteuerregelService/klassifikation" (HTTP-POST) If an existing Klassifikation entity has been updated, the modified entity should be sent to the relative URL: "/SteuerregelService/klassifikation/{id}" (HTTP-PUT) If an existing Klassifikation entity has to be deleted, the following relative URL should be called: "/SteuerregelService/klassifikation/{id}" (HTTP-DELETE) 3. The RaumView must contain the following fields: - name: Beschreibung type: STRING - name: Etage type: LONG - name: Typ type: STRING - name: Unterkunft type: Unterkunft The data source for the [Unterkunft] select control should be loaded from the relative URL: "/UnterkunftService/unterkunft" (HTTP-GET) An existing Raum entity should be loaded from the relative URL: "/SteuerregelService/raum/{id}" (HTTP-GET) If a new Raum entity has been created, the new entity should be posted to the relative URL: "/SteuerregelService/raum" (HTTP-POST) If an existing Raum entity has been updated, the modified entity should be sent to the relative URL: "/SteuerregelService/raum/{id}" (HTTP-PUT) If an existing Raum entity has to be deleted, the following relative URL should be called: "/SteuerregelService/raum/{id}" (HTTP-DELETE) 4. The SteuerregelView must contain the following fields: - name: Beschreibung type: STRING - name: GiltFuer type: STRING - name: Land type: STRING - name: Name type: STRING - name: Region type: STRING An existing Steuerregel entity should be loaded from the relative URL: "/SteuerregelService/steuerregel/{id}" (HTTP-GET) If a new Steuerregel entity has been created, the new entity should be posted to the relative URL: "/SteuerregelService/steuerregel" (HTTP-POST) If an existing Steuerregel entity has been updated, the modified entity should be sent to the relative URL: "/SteuerregelService/steuerregel/{id}" (HTTP-PUT) If an existing Steuerregel entity has to be deleted, the following relative URL should be called: "/SteuerregelService/steuerregel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UnterkunftSteuerregel columns: - column: Steuerregel - column: Unterkunft The table should have the title "UnterkunftSteuerregels" und the data must be loaded from the server with the following relative URL: "/SteuerregelService/unterkunftsteuerregel/steuerregel/{id}" 5. The UnterkunftSteuerregelView must contain the following fields: - name: Steuerregel type: Steuerregel - name: Unterkunft type: Unterkunft The data source for the [Unterkunft] select control should be loaded from the relative URL: "/UnterkunftService/unterkunft" (HTTP-GET) The data source for the [Steuerregel] select control should be loaded from the relative URL: "/SteuerregelService/steuerregel" (HTTP-GET) An existing UnterkunftSteuerregel entity should be loaded from the relative URL: "/SteuerregelService/unterkunftsteuerregel/{id}" (HTTP-GET) If a new UnterkunftSteuerregel entity has been created, the new entity should be posted to the relative URL: "/SteuerregelService/unterkunftsteuerregel" (HTTP-POST) If an existing UnterkunftSteuerregel entity has been updated, the modified entity should be sent to the relative URL: "/SteuerregelService/unterkunftsteuerregel/{id}" (HTTP-PUT) If an existing UnterkunftSteuerregel entity has to be deleted, the following relative URL should be called: "/SteuerregelService/unterkunftsteuerregel/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum