Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
NurseryApp
Please create a React-JS application for the NurseryModule. The application has to offer the following views for the user interface: 1. NurseryView 2. VitaEntryView 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 NurseryView must contain the following fields: - name: Email type: STRING - name: NurseryInfo type: STRING - name: NurseryName type: STRING - name: PostalCode type: STRING - name: City type: STRING - name: Street type: STRING - name: PhoneNo type: STRING An existing Nursery entity should be loaded from the relative URL: "/NurseryService/nursery/{id}" (HTTP-GET) If a new Nursery entity has been created, the new entity should be posted to the relative URL: "/NurseryService/nursery" (HTTP-POST) If an existing Nursery entity has been updated, the modified entity should be sent to the relative URL: "/NurseryService/nursery/{id}" (HTTP-PUT) If an existing Nursery entity has to be deleted, the following relative URL should be called: "/NurseryService/nursery/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VitaEntry columns: - column: School - column: Student - column: Nursery - column: Company - column: FromDate - column: ToDate - column: Details The table should have the title "VitaEntrys" und the data must be loaded from the server with the following relative URL: "/NurseryService/vitaentry/nursery/{id}" 2. The VitaEntryView must contain the following fields: - name: School type: School - name: ToDate type: DATE - name: Details type: STRING - name: Company type: Company - name: Nursery type: Nursery - name: Student type: Student - name: FromDate type: DATE The data source for the [School] select control should be loaded from the relative URL: "/SchoolService/school" (HTTP-GET) The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [Student] select control should be loaded from the relative URL: "/StudentService/student" (HTTP-GET) The data source for the [Nursery] select control should be loaded from the relative URL: "/NurseryService/nursery" (HTTP-GET) An existing VitaEntry entity should be loaded from the relative URL: "/NurseryService/vitaentry/{id}" (HTTP-GET) If a new VitaEntry entity has been created, the new entity should be posted to the relative URL: "/NurseryService/vitaentry" (HTTP-POST) If an existing VitaEntry entity has been updated, the modified entity should be sent to the relative URL: "/NurseryService/vitaentry/{id}" (HTTP-PUT) If an existing VitaEntry entity has to be deleted, the following relative URL should be called: "/NurseryService/vitaentry/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum