Overview
Summary
Contact
Donate
Imprint
Prompt for the
CompanyEntityApp
Please create a React-JS application for the CompanyEntityModule. The application has to offer the following views for the user interface: 1. CompanyEntityView 2. InvestmentRoundView 3. OfficeView 4. PodcastView 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 CompanyEntityView must contain the following fields: - name: City type: STRING - name: Country type: Country - name: IsParent type: BOOL - name: LegalForm type: STRING - name: Name type: STRING - name: Website type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing CompanyEntity entity should be loaded from the relative URL: "/CompanyEntityService/companyentity/{id}" (HTTP-GET) If a new CompanyEntity entity has been created, the new entity should be posted to the relative URL: "/CompanyEntityService/companyentity" (HTTP-POST) If an existing CompanyEntity entity has been updated, the modified entity should be sent to the relative URL: "/CompanyEntityService/companyentity/{id}" (HTTP-PUT) If an existing CompanyEntity entity has to be deleted, the following relative URL should be called: "/CompanyEntityService/companyentity/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Office columns: - column: IsHeadquarters - column: CompanyEntity - column: Country - column: IsOperationalHq - column: ClosedOn - column: OpenedOn - column: City The table should have the title "Offices" und the data must be loaded from the server with the following relative URL: "/CompanyEntityService/office/companyentity/{id}" Add a HTML table to the view with the following InvestmentRound columns: - column: CompanyEntity - column: AnnouncedOn - column: RoundName - column: AmountEur - column: AmountUsd - column: IsDebt The table should have the title "InvestmentRounds" und the data must be loaded from the server with the following relative URL: "/CompanyEntityService/investmentround/companyentity/{id}" 2. The InvestmentRoundView must contain the following fields: - name: AmountEur type: DOUBLE - name: AmountUsd type: DOUBLE - name: AnnouncedOn type: DATE - name: CompanyEntity type: CompanyEntity - name: IsDebt type: BOOL - name: RoundName type: STRING The data source for the [CompanyEntity] select control should be loaded from the relative URL: "/CompanyEntityService/companyentity" (HTTP-GET) An existing InvestmentRound entity should be loaded from the relative URL: "/CompanyEntityService/investmentround/{id}" (HTTP-GET) If a new InvestmentRound entity has been created, the new entity should be posted to the relative URL: "/CompanyEntityService/investmentround" (HTTP-POST) If an existing InvestmentRound entity has been updated, the modified entity should be sent to the relative URL: "/CompanyEntityService/investmentround/{id}" (HTTP-PUT) If an existing InvestmentRound entity has to be deleted, the following relative URL should be called: "/CompanyEntityService/investmentround/{id}" (HTTP-DELETE) Add a HTML table to the view with the following InvestmentRoundInvestor columns: - column: Investor - column: InvestmentRound - column: OwnershipPercent The table should have the title "InvestmentRoundInvestors" und the data must be loaded from the server with the following relative URL: "/CountryService/investmentroundinvestor/investmentround/{id}" 3. The OfficeView must contain the following fields: - name: City type: STRING - name: ClosedOn type: DATE - name: CompanyEntity type: CompanyEntity - name: Country type: Country - name: IsHeadquarters type: BOOL - name: IsOperationalHq type: BOOL - name: OpenedOn type: DATE The data source for the [CompanyEntity] select control should be loaded from the relative URL: "/CompanyEntityService/companyentity" (HTTP-GET) The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing Office entity should be loaded from the relative URL: "/CompanyEntityService/office/{id}" (HTTP-GET) If a new Office entity has been created, the new entity should be posted to the relative URL: "/CompanyEntityService/office" (HTTP-POST) If an existing Office entity has been updated, the modified entity should be sent to the relative URL: "/CompanyEntityService/office/{id}" (HTTP-PUT) If an existing Office entity has to be deleted, the following relative URL should be called: "/CompanyEntityService/office/{id}" (HTTP-DELETE) 4. The PodcastView must contain the following fields: - name: Country type: Country - name: Description type: STRING - name: IsExclusive type: BOOL - name: IsVideoEnabled type: BOOL - name: Language type: STRING - name: Title type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing Podcast entity should be loaded from the relative URL: "/CompanyEntityService/podcast/{id}" (HTTP-GET) If a new Podcast entity has been created, the new entity should be posted to the relative URL: "/CompanyEntityService/podcast" (HTTP-POST) If an existing Podcast entity has been updated, the modified entity should be sent to the relative URL: "/CompanyEntityService/podcast/{id}" (HTTP-PUT) If an existing Podcast entity has to be deleted, the following relative URL should be called: "/CompanyEntityService/podcast/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PodcastEpisode columns: - column: Title - column: Description - column: DurationSeconds - column: HasMusic - column: Podcast - column: ReleaseDate The table should have the title "PodcastEpisodes" und the data must be loaded from the server with the following relative URL: "/TrackService/podcastepisode/podcast/{id}" Add a HTML table to the view with the following CreatorToolUsage columns: - column: Podcast - column: Artist - column: UserAccount - column: StartedAt - column: CreatorTool The table should have the title "CreatorToolUsages" und the data must be loaded from the server with the following relative URL: "/TrackService/creatortoolusage/podcast/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint