Overview
Summary
Contact
Donate
Imprint
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. CompanyView 2. CountryView 3. TitleCountryView 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 CompanyView must contain the following fields: - name: CompanyType type: STRING - name: Country type: Country - name: Name type: STRING - name: WebsiteUrl type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing Company entity should be loaded from the relative URL: "/CountryService/company/{id}" (HTTP-GET) If a new Company entity has been created, the new entity should be posted to the relative URL: "/CountryService/company" (HTTP-POST) If an existing Company entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/company/{id}" (HTTP-PUT) If an existing Company entity has to be deleted, the following relative URL should be called: "/CountryService/company/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TitleCompany columns: - column: Title - column: Role - column: Company The table should have the title "TitleCompanys" und the data must be loaded from the server with the following relative URL: "/TitleService/titlecompany/company/{id}" 2. The CountryView must contain the following fields: - name: IsoCode type: STRING - name: Name 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 TitleCountry columns: - column: Title - column: Country The table should have the title "TitleCountrys" und the data must be loaded from the server with the following relative URL: "/CountryService/titlecountry/country/{id}" Add a HTML table to the view with the following AwardEvent columns: - column: FirstYear - column: Name - column: WebsiteUrl - column: Country - column: Description The table should have the title "AwardEvents" und the data must be loaded from the server with the following relative URL: "/AwardEventService/awardevent/country/{id}" Add a HTML table to the view with the following UserAccount columns: - column: PasswordHash - column: Country - column: CreatedAt - column: PreferredLanguage - column: DisplayName - column: Email - column: UpdatedAt - column: Username - column: IsActive The table should have the title "UserAccounts" und the data must be loaded from the server with the following relative URL: "/UserAccountService/useraccount/country/{id}" Add a HTML table to the view with the following Company columns: - column: CompanyType - column: Country - column: WebsiteUrl - column: Name The table should have the title "Companys" und the data must be loaded from the server with the following relative URL: "/CountryService/company/country/{id}" 3. The TitleCountryView must contain the following fields: - name: Country type: Country - name: Title type: Title The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) An existing TitleCountry entity should be loaded from the relative URL: "/CountryService/titlecountry/{id}" (HTTP-GET) If a new TitleCountry entity has been created, the new entity should be posted to the relative URL: "/CountryService/titlecountry" (HTTP-POST) If an existing TitleCountry entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/titlecountry/{id}" (HTTP-PUT) If an existing TitleCountry entity has to be deleted, the following relative URL should be called: "/CountryService/titlecountry/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint