Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BauwerkApp
Please create a React-JS application for the BauwerkModule. The application has to offer the following views for the user interface: 1. BaustelleBaustellenartView 2. BaustellenartView 3. BauwerkView 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 BaustelleBaustellenartView must contain the following fields: - name: Baustelle type: Baustelle - name: Baustellenart type: Baustellenart The data source for the [Baustelle] select control should be loaded from the relative URL: "/BaustelleService/baustelle" (HTTP-GET) The data source for the [Baustellenart] select control should be loaded from the relative URL: "/BauwerkService/baustellenart" (HTTP-GET) An existing BaustelleBaustellenart entity should be loaded from the relative URL: "/BauwerkService/baustellebaustellenart/{id}" (HTTP-GET) If a new BaustelleBaustellenart entity has been created, the new entity should be posted to the relative URL: "/BauwerkService/baustellebaustellenart" (HTTP-POST) If an existing BaustelleBaustellenart entity has been updated, the modified entity should be sent to the relative URL: "/BauwerkService/baustellebaustellenart/{id}" (HTTP-PUT) If an existing BaustelleBaustellenart entity has to be deleted, the following relative URL should be called: "/BauwerkService/baustellebaustellenart/{id}" (HTTP-DELETE) 2. The BaustellenartView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Kategorie type: STRING An existing Baustellenart entity should be loaded from the relative URL: "/BauwerkService/baustellenart/{id}" (HTTP-GET) If a new Baustellenart entity has been created, the new entity should be posted to the relative URL: "/BauwerkService/baustellenart" (HTTP-POST) If an existing Baustellenart entity has been updated, the modified entity should be sent to the relative URL: "/BauwerkService/baustellenart/{id}" (HTTP-PUT) If an existing Baustellenart entity has to be deleted, the following relative URL should be called: "/BauwerkService/baustellenart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BaustelleBaustellenart columns: - column: Baustellenart - column: Baustelle The table should have the title "BaustelleBaustellenarts" und the data must be loaded from the server with the following relative URL: "/BauwerkService/baustellebaustellenart/baustellenart/{id}" 3. The BauwerkView must contain the following fields: - name: Adresse type: STRING - name: BauwerkTyp type: STRING - name: Beschreibung type: STRING - name: Name type: STRING An existing Bauwerk entity should be loaded from the relative URL: "/BauwerkService/bauwerk/{id}" (HTTP-GET) If a new Bauwerk entity has been created, the new entity should be posted to the relative URL: "/BauwerkService/bauwerk" (HTTP-POST) If an existing Bauwerk entity has been updated, the modified entity should be sent to the relative URL: "/BauwerkService/bauwerk/{id}" (HTTP-PUT) If an existing Bauwerk entity has to be deleted, the following relative URL should be called: "/BauwerkService/bauwerk/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Baustelle columns: - column: Strassenbehoerde - column: EndDatumTatsaechlich - column: Bauvorhaben - column: BaufeldFlaeche - column: StartDatum - column: Bauwerk - column: Bezeichnung - column: Hauptunternehmer - column: Auftraggeber - column: StandortBeschreibung - column: Architekt - column: EndDatumGeplant The table should have the title "Baustelles" und the data must be loaded from the server with the following relative URL: "/BaustelleService/baustelle/bauwerk/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum