Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GastgeberApp
Please create a React-JS application for the GastgeberModule. The application has to offer the following views for the user interface: 1. GastgeberView 2. GastgeberKontaktView 3. ReiseThemaView 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 GastgeberView must contain the following fields: - name: Aktiv type: BOOL - name: AnzeigenName type: STRING - name: Beschreibung type: STRING - name: BewertungAnzahl type: LONG - name: BewertungDurchschnitt type: STRING - name: Erstellzeitpunkt type: DATE - name: Firmenname type: STRING - name: RegistriertSeit type: DATE An existing Gastgeber entity should be loaded from the relative URL: "/GastgeberService/gastgeber/{id}" (HTTP-GET) If a new Gastgeber entity has been created, the new entity should be posted to the relative URL: "/GastgeberService/gastgeber" (HTTP-POST) If an existing Gastgeber entity has been updated, the modified entity should be sent to the relative URL: "/GastgeberService/gastgeber/{id}" (HTTP-PUT) If an existing Gastgeber entity has to be deleted, the following relative URL should be called: "/GastgeberService/gastgeber/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Unterkunft columns: - column: OnlineBuchbar - column: EntfernungSeeMeter - column: Erstellzeitpunkt - column: Aktiv - column: BadezimmerAnzahl - column: HaustiereErlaubt - column: MaximalePersonen - column: Langbeschreibung - column: Parkplatz - column: UnterkunftKategorie - column: Titel - column: InternetWlan - column: Ort - column: WohnflaecheQm - column: EntfernungMeerMeter - column: UnterkunftTyp - column: AnreiseTagEinschraenkung - column: Kurzbeschreibung - column: SchlafzimmerAnzahl - column: MindestAufenthaltNaechte - column: EntfernungStadtzentrumMeter - column: Barrierefrei - column: RauchenErlaubt - column: Gastgeber The table should have the title "Unterkunfts" und the data must be loaded from the server with the following relative URL: "/UnterkunftService/unterkunft/gastgeber/{id}" Add a HTML table to the view with the following GastgeberKontakt columns: - column: Gastgeber - column: Webseite - column: Erstellzeitpunkt - column: SpracheSekundaer - column: Telefon - column: ErreichbarkeitBeschreibung - column: SprachePrimar - column: Mobil - column: Email The table should have the title "GastgeberKontakts" und the data must be loaded from the server with the following relative URL: "/GastgeberService/gastgeberkontakt/gastgeber/{id}" 2. The GastgeberKontaktView must contain the following fields: - name: Email type: STRING - name: ErreichbarkeitBeschreibung type: STRING - name: Erstellzeitpunkt type: DATE - name: Gastgeber type: Gastgeber - name: Mobil type: STRING - name: SprachePrimar type: STRING - name: SpracheSekundaer type: STRING - name: Telefon type: STRING - name: Webseite type: STRING The data source for the [Gastgeber] select control should be loaded from the relative URL: "/GastgeberService/gastgeber" (HTTP-GET) An existing GastgeberKontakt entity should be loaded from the relative URL: "/GastgeberService/gastgeberkontakt/{id}" (HTTP-GET) If a new GastgeberKontakt entity has been created, the new entity should be posted to the relative URL: "/GastgeberService/gastgeberkontakt" (HTTP-POST) If an existing GastgeberKontakt entity has been updated, the modified entity should be sent to the relative URL: "/GastgeberService/gastgeberkontakt/{id}" (HTTP-PUT) If an existing GastgeberKontakt entity has to be deleted, the following relative URL should be called: "/GastgeberService/gastgeberkontakt/{id}" (HTTP-DELETE) 3. The ReiseThemaView must contain the following fields: - name: Aktiv type: BOOL - name: Beschreibung type: STRING - name: Code type: STRING - name: Erstellzeitpunkt type: DATE - name: Name type: STRING An existing ReiseThema entity should be loaded from the relative URL: "/GastgeberService/reisethema/{id}" (HTTP-GET) If a new ReiseThema entity has been created, the new entity should be posted to the relative URL: "/GastgeberService/reisethema" (HTTP-POST) If an existing ReiseThema entity has been updated, the modified entity should be sent to the relative URL: "/GastgeberService/reisethema/{id}" (HTTP-PUT) If an existing ReiseThema entity has to be deleted, the following relative URL should be called: "/GastgeberService/reisethema/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UnterkunftThema columns: - column: ReiseThema - column: Erstellzeitpunkt - column: Unterkunft The table should have the title "UnterkunftThemas" und the data must be loaded from the server with the following relative URL: "/UnterkunftService/unterkunftthema/reisethema/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum