Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AddressApp
Please create a React-JS application for the AddressModule. The application has to offer the following views for the user interface: 1. AddressView 2. EducationProviderView 3. EducationTypeView 4. LearningOpportunityView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AddressView must contain the following fields: - name: City type: STRING - name: PostalCode type: STRING - name: Street type: STRING An existing Address entity should be loaded from the relative URL: "/AddressService/address/{id}" (HTTP-GET) If a new Address entity has been created, the new entity should be posted to the relative URL: "/AddressService/address" (HTTP-POST) If an existing Address entity has been updated, the modified entity should be sent to the relative URL: "/AddressService/address/{id}" (HTTP-PUT) If an existing Address entity has to be deleted, the following relative URL should be called: "/AddressService/address/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LearningOpportunity columns: - column: Course - column: FromDate - column: CourseContent - column: ToDate - column: Address - column: EducationType - column: EducationProvider - column: Costs The table should have the title "LearningOpportunitys" und the data must be loaded from the server with the following relative URL: "/AddressService/learningopportunity/address/{id}" Add a HTML table to the view with the following EducationProvider columns: - column: Address - column: ProviderName The table should have the title "EducationProviders" und the data must be loaded from the server with the following relative URL: "/AddressService/educationprovider/address/{id}" 2. The EducationProviderView must contain the following fields: - name: Address type: Address - name: ProviderName type: STRING The data source for the [Address] select control should be loaded from the relative URL: "/AddressService/address" (HTTP-GET) An existing EducationProvider entity should be loaded from the relative URL: "/AddressService/educationprovider/{id}" (HTTP-GET) If a new EducationProvider entity has been created, the new entity should be posted to the relative URL: "/AddressService/educationprovider" (HTTP-POST) If an existing EducationProvider entity has been updated, the modified entity should be sent to the relative URL: "/AddressService/educationprovider/{id}" (HTTP-PUT) If an existing EducationProvider entity has to be deleted, the following relative URL should be called: "/AddressService/educationprovider/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LearningOpportunity columns: - column: Course - column: FromDate - column: CourseContent - column: ToDate - column: Address - column: EducationType - column: EducationProvider - column: Costs The table should have the title "LearningOpportunitys" und the data must be loaded from the server with the following relative URL: "/AddressService/learningopportunity/educationprovider/{id}" 3. The EducationTypeView must contain the following fields: - name: Description type: STRING - name: TypeName type: STRING An existing EducationType entity should be loaded from the relative URL: "/AddressService/educationtype/{id}" (HTTP-GET) If a new EducationType entity has been created, the new entity should be posted to the relative URL: "/AddressService/educationtype" (HTTP-POST) If an existing EducationType entity has been updated, the modified entity should be sent to the relative URL: "/AddressService/educationtype/{id}" (HTTP-PUT) If an existing EducationType entity has to be deleted, the following relative URL should be called: "/AddressService/educationtype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LearningOpportunity columns: - column: Course - column: FromDate - column: CourseContent - column: ToDate - column: Address - column: EducationType - column: EducationProvider - column: Costs The table should have the title "LearningOpportunitys" und the data must be loaded from the server with the following relative URL: "/AddressService/learningopportunity/educationtype/{id}" 4. The LearningOpportunityView must contain the following fields: - name: Address type: Address - name: EducationProvider type: EducationProvider - name: EducationType type: EducationType - name: Costs type: DOUBLE - name: Course type: STRING - name: FromDate type: DATE - name: ToDate type: DATE - name: CourseContent type: STRING The data source for the [Address] select control should be loaded from the relative URL: "/AddressService/address" (HTTP-GET) The data source for the [EducationType] select control should be loaded from the relative URL: "/AddressService/educationtype" (HTTP-GET) The data source for the [EducationProvider] select control should be loaded from the relative URL: "/AddressService/educationprovider" (HTTP-GET) An existing LearningOpportunity entity should be loaded from the relative URL: "/AddressService/learningopportunity/{id}" (HTTP-GET) If a new LearningOpportunity entity has been created, the new entity should be posted to the relative URL: "/AddressService/learningopportunity" (HTTP-POST) If an existing LearningOpportunity entity has been updated, the modified entity should be sent to the relative URL: "/AddressService/learningopportunity/{id}" (HTTP-PUT) If an existing LearningOpportunity entity has to be deleted, the following relative URL should be called: "/AddressService/learningopportunity/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CouponEncashment columns: - column: LearningOpportunity - column: EducationCoupon The table should have the title "CouponEncashments" und the data must be loaded from the server with the following relative URL: "/EducationCouponService/couponencashment/learningopportunity/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum