Overview
Summary
Contact
Donate
Imprint
Prompt for the
TechnologyComponentApp
Please create a React-JS application for the TechnologyComponentModule. The application has to offer the following views for the user interface: 1. FundingRoundView 2. PartnershipView 3. ProgramTechnologyView 4. TechnologyComponentView 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 FundingRoundView must contain the following fields: - name: AmountUsd type: DOUBLE - name: Company type: Company - name: LeadInvestor type: STRING - name: RoundDate type: DATE - name: RoundType type: STRING - name: SourceNote 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 FundingRound entity should be loaded from the relative URL: "/TechnologyComponentService/fundinground/{id}" (HTTP-GET) If a new FundingRound entity has been created, the new entity should be posted to the relative URL: "/TechnologyComponentService/fundinground" (HTTP-POST) If an existing FundingRound entity has been updated, the modified entity should be sent to the relative URL: "/TechnologyComponentService/fundinground/{id}" (HTTP-PUT) If an existing FundingRound entity has to be deleted, the following relative URL should be called: "/TechnologyComponentService/fundinground/{id}" (HTTP-DELETE) 2. The PartnershipView must contain the following fields: - name: Company type: Company - name: EndDate type: DATE - name: Notes type: STRING - name: PartnerCompany type: Company - name: Scope type: STRING - name: StartDate type: DATE The data source for the [PartnerCompany] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Partnership entity should be loaded from the relative URL: "/TechnologyComponentService/partnership/{id}" (HTTP-GET) If a new Partnership entity has been created, the new entity should be posted to the relative URL: "/TechnologyComponentService/partnership" (HTTP-POST) If an existing Partnership entity has been updated, the modified entity should be sent to the relative URL: "/TechnologyComponentService/partnership/{id}" (HTTP-PUT) If an existing Partnership entity has to be deleted, the following relative URL should be called: "/TechnologyComponentService/partnership/{id}" (HTTP-DELETE) 3. The ProgramTechnologyView must contain the following fields: - name: Program type: Program - name: TechnologyComponent type: TechnologyComponent The data source for the [Program] select control should be loaded from the relative URL: "/ProgramService/program" (HTTP-GET) The data source for the [TechnologyComponent] select control should be loaded from the relative URL: "/TechnologyComponentService/technologycomponent" (HTTP-GET) An existing ProgramTechnology entity should be loaded from the relative URL: "/TechnologyComponentService/programtechnology/{id}" (HTTP-GET) If a new ProgramTechnology entity has been created, the new entity should be posted to the relative URL: "/TechnologyComponentService/programtechnology" (HTTP-POST) If an existing ProgramTechnology entity has been updated, the modified entity should be sent to the relative URL: "/TechnologyComponentService/programtechnology/{id}" (HTTP-PUT) If an existing ProgramTechnology entity has to be deleted, the following relative URL should be called: "/TechnologyComponentService/programtechnology/{id}" (HTTP-DELETE) 4. The TechnologyComponentView must contain the following fields: - name: ComponentType type: STRING - name: Description type: STRING - name: EndUseDate type: DATE - name: Name type: STRING - name: StartUseDate type: DATE An existing TechnologyComponent entity should be loaded from the relative URL: "/TechnologyComponentService/technologycomponent/{id}" (HTTP-GET) If a new TechnologyComponent entity has been created, the new entity should be posted to the relative URL: "/TechnologyComponentService/technologycomponent" (HTTP-POST) If an existing TechnologyComponent entity has been updated, the modified entity should be sent to the relative URL: "/TechnologyComponentService/technologycomponent/{id}" (HTTP-PUT) If an existing TechnologyComponent entity has to be deleted, the following relative URL should be called: "/TechnologyComponentService/technologycomponent/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProgramTechnology columns: - column: Program - column: TechnologyComponent The table should have the title "ProgramTechnologys" und the data must be loaded from the server with the following relative URL: "/TechnologyComponentService/programtechnology/technologycomponent/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint