Overview
Summary
Contact
Donate
Imprint
Prompt for the
CompanyApp
Please create a React-JS application for the CompanyModule. The application has to offer the following views for the user interface: 1. ApplicationView 2. CompanyView 3. InvestmentRoundView 4. PartnerIntegrationView 5. SupportSystemView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The ApplicationView must contain the following fields: - name: Company type: Company - name: License type: STRING - name: Name type: STRING - name: Platform type: Platform - name: ProgrammingLanguage type: STRING - name: ReleaseDate type: DATE - name: Type type: STRING - name: Website type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [Platform] select control should be loaded from the relative URL: "/SupportVendorService/platform" (HTTP-GET) An existing Application entity should be loaded from the relative URL: "/CompanyService/application/{id}" (HTTP-GET) If a new Application entity has been created, the new entity should be posted to the relative URL: "/CompanyService/application" (HTTP-POST) If an existing Application entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/application/{id}" (HTTP-PUT) If an existing Application entity has to be deleted, the following relative URL should be called: "/CompanyService/application/{id}" (HTTP-DELETE) 2. The CompanyView must contain the following fields: - name: Country type: STRING - name: FoundedYear type: LONG - name: HeadquartersCity type: STRING - name: Name type: STRING - name: Website type: STRING An existing Company entity should be loaded from the relative URL: "/CompanyService/company/{id}" (HTTP-GET) If a new Company entity has been created, the new entity should be posted to the relative URL: "/CompanyService/company" (HTTP-POST) If an existing Company entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/company/{id}" (HTTP-PUT) If an existing Company entity has to be deleted, the following relative URL should be called: "/CompanyService/company/{id}" (HTTP-DELETE) Add a HTML table to the view with the following DataBreach columns: - column: Name - column: Description - column: IncidentDate - column: ThirdPartyVendor - column: RecordsAffected - column: RansomDemanded - column: Company The table should have the title "DataBreachs" und the data must be loaded from the server with the following relative URL: "/SupportVendorService/databreach/company/{id}" Add a HTML table to the view with the following PartnerIntegration columns: - column: EndDate - column: PartnerName - column: Company - column: Platform - column: StartDate - column: Description The table should have the title "PartnerIntegrations" und the data must be loaded from the server with the following relative URL: "/CompanyService/partnerintegration/company/{id}" Add a HTML table to the view with the following Application columns: - column: ProgrammingLanguage - column: License - column: Type - column: Platform - column: Website - column: Company - column: Name - column: ReleaseDate The table should have the title "Applications" und the data must be loaded from the server with the following relative URL: "/CompanyService/application/company/{id}" Add a HTML table to the view with the following SupportSystem columns: - column: Description - column: Name - column: Company - column: Vendor - column: IsThirdParty The table should have the title "SupportSystems" und the data must be loaded from the server with the following relative URL: "/CompanyService/supportsystem/company/{id}" Add a HTML table to the view with the following InvestmentRound columns: - column: AmountUsd - column: Company - column: ValuationUsd - column: RoundType - column: LeadInvestor - column: Date The table should have the title "InvestmentRounds" und the data must be loaded from the server with the following relative URL: "/CompanyService/investmentround/company/{id}" 3. The InvestmentRoundView must contain the following fields: - name: AmountUsd type: DOUBLE - name: Company type: Company - name: Date type: DATE - name: LeadInvestor type: STRING - name: RoundType type: STRING - name: ValuationUsd type: DOUBLE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing InvestmentRound entity should be loaded from the relative URL: "/CompanyService/investmentround/{id}" (HTTP-GET) If a new InvestmentRound entity has been created, the new entity should be posted to the relative URL: "/CompanyService/investmentround" (HTTP-POST) If an existing InvestmentRound entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/investmentround/{id}" (HTTP-PUT) If an existing InvestmentRound entity has to be deleted, the following relative URL should be called: "/CompanyService/investmentround/{id}" (HTTP-DELETE) 4. The PartnerIntegrationView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: EndDate type: DATE - name: PartnerName type: STRING - name: Platform type: Platform - name: StartDate type: DATE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [Platform] select control should be loaded from the relative URL: "/SupportVendorService/platform" (HTTP-GET) An existing PartnerIntegration entity should be loaded from the relative URL: "/CompanyService/partnerintegration/{id}" (HTTP-GET) If a new PartnerIntegration entity has been created, the new entity should be posted to the relative URL: "/CompanyService/partnerintegration" (HTTP-POST) If an existing PartnerIntegration entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/partnerintegration/{id}" (HTTP-PUT) If an existing PartnerIntegration entity has to be deleted, the following relative URL should be called: "/CompanyService/partnerintegration/{id}" (HTTP-DELETE) 5. The SupportSystemView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: IsThirdParty type: BOOL - name: Name type: STRING - name: Vendor type: SupportVendor The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [Vendor] select control should be loaded from the relative URL: "/SupportVendorService/supportvendor" (HTTP-GET) An existing SupportSystem entity should be loaded from the relative URL: "/CompanyService/supportsystem/{id}" (HTTP-GET) If a new SupportSystem entity has been created, the new entity should be posted to the relative URL: "/CompanyService/supportsystem" (HTTP-POST) If an existing SupportSystem entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/supportsystem/{id}" (HTTP-PUT) If an existing SupportSystem entity has to be deleted, the following relative URL should be called: "/CompanyService/supportsystem/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint