Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
CountryApp
Please create a React-JS application for the CountryModule. The application has to offer the following views for the user interface: 1. CountryView 2. NationalityView 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 CountryView must contain the following fields: - name: Languages type: STRING - name: CountryName type: STRING An existing Country entity should be loaded from the relative URL: "/CountryService/country/{id}" (HTTP-GET) If a new Country entity has been created, the new entity should be posted to the relative URL: "/CountryService/country" (HTTP-POST) If an existing Country entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/country/{id}" (HTTP-PUT) If an existing Country entity has to be deleted, the following relative URL should be called: "/CountryService/country/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Nationality columns: - column: Country - column: Student The table should have the title "Nationalitys" und the data must be loaded from the server with the following relative URL: "/CountryService/nationality/country/{id}" 2. The NationalityView must contain the following fields: - name: Student type: Student - name: Country type: Country The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [Student] select control should be loaded from the relative URL: "/StudentService/student" (HTTP-GET) An existing Nationality entity should be loaded from the relative URL: "/CountryService/nationality/{id}" (HTTP-GET) If a new Nationality entity has been created, the new entity should be posted to the relative URL: "/CountryService/nationality" (HTTP-POST) If an existing Nationality entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/nationality/{id}" (HTTP-PUT) If an existing Nationality entity has to be deleted, the following relative URL should be called: "/CountryService/nationality/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum