Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GastApp
Please create a React-JS application for the GastModule. The application has to offer the following views for the user interface: 1. GastView 2. LandView 3. OrtView 4. RegionView 5. SeoLandingpageView 6. SuchanfrageView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. The GastView must contain the following fields: - name: Email type: STRING - name: Erstellzeitpunkt type: DATE - name: Nachname type: STRING - name: Telefon type: STRING - name: Vorname type: STRING - name: Wohnland type: STRING An existing Gast entity should be loaded from the relative URL: "/GastService/gast/{id}" (HTTP-GET) If a new Gast entity has been created, the new entity should be posted to the relative URL: "/GastService/gast" (HTTP-POST) If an existing Gast entity has been updated, the modified entity should be sent to the relative URL: "/GastService/gast/{id}" (HTTP-PUT) If an existing Gast entity has to be deleted, the following relative URL should be called: "/GastService/gast/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Suchanfrage columns: - column: MaximalePersonen - column: Gast - column: Land - column: AbreiseDatum - column: ErwachseneAnzahl - column: Erstellzeitpunkt - column: Sortierung - column: SessionToken - column: HaustiereAnzahl - column: MindestBewertung - column: AnreiseDatum - column: KinderAnzahl - column: Region - column: Freitext - column: Ort The table should have the title "Suchanfrages" und the data must be loaded from the server with the following relative URL: "/GastService/suchanfrage/gast/{id}" Add a HTML table to the view with the following Bewertung columns: - column: Titel - column: SterneGesamt - column: SterneAusstattung - column: Text - column: Buchung - column: Unterkunft - column: Erstellzeitpunkt - column: Freigeschaltet - column: SterneSauberkeit - column: SterneKommunikation - column: SterneLage - column: Gast The table should have the title "Bewertungs" und the data must be loaded from the server with the following relative URL: "/BuchungService/bewertung/gast/{id}" Add a HTML table to the view with the following Buchung columns: - column: KinderAnzahl - column: Gast - column: AnreiseDatum - column: AntwortGastgeber - column: Unterkunft - column: Waehrung - column: BuchungsQuelle - column: BuchungsZeitpunkt - column: StornierungsDatum - column: AbreiseDatum - column: StornierungsGebuehr - column: ErwachseneAnzahl - column: Status - column: GesamtPreis - column: NachrichtAnGastgeber - column: HaustiereAnzahl The table should have the title "Buchungs" und the data must be loaded from the server with the following relative URL: "/BuchungService/buchung/gast/{id}" Add a HTML table to the view with the following Merkzettel columns: - column: LetzteAktualisierung - column: SessionToken - column: Gast - column: Erstellzeitpunkt The table should have the title "Merkzettels" und the data must be loaded from the server with the following relative URL: "/MerkzettelService/merkzettel/gast/{id}" 2. The LandView must contain the following fields: - name: Aktiv type: BOOL - name: Erstellzeitpunkt type: DATE - name: IsoCode type: STRING - name: Name type: STRING An existing Land entity should be loaded from the relative URL: "/GastService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/GastService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/GastService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/GastService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Suchanfrage columns: - column: MaximalePersonen - column: Gast - column: Land - column: AbreiseDatum - column: ErwachseneAnzahl - column: Erstellzeitpunkt - column: Sortierung - column: SessionToken - column: HaustiereAnzahl - column: MindestBewertung - column: AnreiseDatum - column: KinderAnzahl - column: Region - column: Freitext - column: Ort The table should have the title "Suchanfrages" und the data must be loaded from the server with the following relative URL: "/GastService/suchanfrage/land/{id}" Add a HTML table to the view with the following SeoLandingpage columns: - column: Ort - column: Region - column: UrlPfad - column: Aktiv - column: Land - column: Titel - column: EinleitungsText - column: MetaBeschreibung - column: Erstellzeitpunkt The table should have the title "SeoLandingpages" und the data must be loaded from the server with the following relative URL: "/GastService/seolandingpage/land/{id}" Add a HTML table to the view with the following Region columns: - column: Land - column: Beschreibung - column: Aktiv - column: Erstellzeitpunkt - column: Name The table should have the title "Regions" und the data must be loaded from the server with the following relative URL: "/GastService/region/land/{id}" 3. The OrtView must contain the following fields: - name: Aktiv type: BOOL - name: Erstellzeitpunkt type: DATE - name: GeoBreite type: STRING - name: GeoLaenge type: STRING - name: Name type: STRING - name: Postleitzahl type: STRING - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/GastService/region" (HTTP-GET) An existing Ort entity should be loaded from the relative URL: "/GastService/ort/{id}" (HTTP-GET) If a new Ort entity has been created, the new entity should be posted to the relative URL: "/GastService/ort" (HTTP-POST) If an existing Ort entity has been updated, the modified entity should be sent to the relative URL: "/GastService/ort/{id}" (HTTP-PUT) If an existing Ort entity has to be deleted, the following relative URL should be called: "/GastService/ort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SeoLandingpage columns: - column: Ort - column: Region - column: UrlPfad - column: Aktiv - column: Land - column: Titel - column: EinleitungsText - column: MetaBeschreibung - column: Erstellzeitpunkt The table should have the title "SeoLandingpages" und the data must be loaded from the server with the following relative URL: "/GastService/seolandingpage/ort/{id}" 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/ort/{id}" Add a HTML table to the view with the following Suchanfrage columns: - column: MaximalePersonen - column: Gast - column: Land - column: AbreiseDatum - column: ErwachseneAnzahl - column: Erstellzeitpunkt - column: Sortierung - column: SessionToken - column: HaustiereAnzahl - column: MindestBewertung - column: AnreiseDatum - column: KinderAnzahl - column: Region - column: Freitext - column: Ort The table should have the title "Suchanfrages" und the data must be loaded from the server with the following relative URL: "/GastService/suchanfrage/ort/{id}" 4. The RegionView must contain the following fields: - name: Aktiv type: BOOL - name: Beschreibung type: STRING - name: Erstellzeitpunkt type: DATE - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/GastService/land" (HTTP-GET) An existing Region entity should be loaded from the relative URL: "/GastService/region/{id}" (HTTP-GET) If a new Region entity has been created, the new entity should be posted to the relative URL: "/GastService/region" (HTTP-POST) If an existing Region entity has been updated, the modified entity should be sent to the relative URL: "/GastService/region/{id}" (HTTP-PUT) If an existing Region entity has to be deleted, the following relative URL should be called: "/GastService/region/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SeoLandingpage columns: - column: Ort - column: Region - column: UrlPfad - column: Aktiv - column: Land - column: Titel - column: EinleitungsText - column: MetaBeschreibung - column: Erstellzeitpunkt The table should have the title "SeoLandingpages" und the data must be loaded from the server with the following relative URL: "/GastService/seolandingpage/region/{id}" Add a HTML table to the view with the following Suchanfrage columns: - column: MaximalePersonen - column: Gast - column: Land - column: AbreiseDatum - column: ErwachseneAnzahl - column: Erstellzeitpunkt - column: Sortierung - column: SessionToken - column: HaustiereAnzahl - column: MindestBewertung - column: AnreiseDatum - column: KinderAnzahl - column: Region - column: Freitext - column: Ort The table should have the title "Suchanfrages" und the data must be loaded from the server with the following relative URL: "/GastService/suchanfrage/region/{id}" Add a HTML table to the view with the following Ort columns: - column: GeoLaenge - column: Aktiv - column: Region - column: GeoBreite - column: Erstellzeitpunkt - column: Name - column: Postleitzahl The table should have the title "Orts" und the data must be loaded from the server with the following relative URL: "/GastService/ort/region/{id}" 5. The SeoLandingpageView must contain the following fields: - name: Aktiv type: BOOL - name: EinleitungsText type: STRING - name: Erstellzeitpunkt type: DATE - name: Land type: Land - name: MetaBeschreibung type: STRING - name: Ort type: Ort - name: Region type: Region - name: Titel type: STRING - name: UrlPfad type: STRING The data source for the [Ort] select control should be loaded from the relative URL: "/GastService/ort" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/GastService/region" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/GastService/land" (HTTP-GET) An existing SeoLandingpage entity should be loaded from the relative URL: "/GastService/seolandingpage/{id}" (HTTP-GET) If a new SeoLandingpage entity has been created, the new entity should be posted to the relative URL: "/GastService/seolandingpage" (HTTP-POST) If an existing SeoLandingpage entity has been updated, the modified entity should be sent to the relative URL: "/GastService/seolandingpage/{id}" (HTTP-PUT) If an existing SeoLandingpage entity has to be deleted, the following relative URL should be called: "/GastService/seolandingpage/{id}" (HTTP-DELETE) 6. The SuchanfrageView must contain the following fields: - name: AbreiseDatum type: DATE - name: AnreiseDatum type: DATE - name: Erstellzeitpunkt type: DATE - name: ErwachseneAnzahl type: LONG - name: Freitext type: STRING - name: Gast type: Gast - name: HaustiereAnzahl type: LONG - name: KinderAnzahl type: LONG - name: Land type: Land - name: MaximalePersonen type: LONG - name: MindestBewertung type: STRING - name: Ort type: Ort - name: Region type: Region - name: SessionToken type: STRING - name: Sortierung type: STRING The data source for the [Ort] select control should be loaded from the relative URL: "/GastService/ort" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/GastService/region" (HTTP-GET) The data source for the [Gast] select control should be loaded from the relative URL: "/GastService/gast" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/GastService/land" (HTTP-GET) An existing Suchanfrage entity should be loaded from the relative URL: "/GastService/suchanfrage/{id}" (HTTP-GET) If a new Suchanfrage entity has been created, the new entity should be posted to the relative URL: "/GastService/suchanfrage" (HTTP-POST) If an existing Suchanfrage entity has been updated, the modified entity should be sent to the relative URL: "/GastService/suchanfrage/{id}" (HTTP-PUT) If an existing Suchanfrage entity has to be deleted, the following relative URL should be called: "/GastService/suchanfrage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SuchfilterAusstattung columns: - column: Ausstattung - column: Erstellzeitpunkt - column: Suchanfrage The table should have the title "SuchfilterAusstattungs" und the data must be loaded from the server with the following relative URL: "/EntfernungspunktService/suchfilterausstattung/suchanfrage/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum