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. CountryView 2. HardwareProductView 3. InvestmentRoundInvestorView 4. InvestorView 5. LabelView 6. RoyaltyRecipientView 7. TrackLabelView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 7 views are defined below. 1. The CountryView must contain the following fields: - name: IsHighIncome type: BOOL - 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 Artist columns: - column: Country - column: IsGhostArtist - column: Name - column: IsVerified The table should have the title "Artists" und the data must be loaded from the server with the following relative URL: "/TrackService/artist/country/{id}" Add a HTML table to the view with the following StreamEvent columns: - column: Track - column: PodcastEpisode - column: SubscriptionPlan - column: StartedAt - column: Country - column: IsCountedForRoyalty - column: UserAccount - column: DurationSeconds The table should have the title "StreamEvents" und the data must be loaded from the server with the following relative URL: "/TrackService/streamevent/country/{id}" Add a HTML table to the view with the following PartnerCompany columns: - column: Name - column: Industry - column: Country The table should have the title "PartnerCompanys" und the data must be loaded from the server with the following relative URL: "/PartnerCompanyService/partnercompany/country/{id}" Add a HTML table to the view with the following Investor columns: - column: Type - column: Country - column: Name The table should have the title "Investors" und the data must be loaded from the server with the following relative URL: "/CountryService/investor/country/{id}" Add a HTML table to the view with the following Label columns: - column: Website - column: Country - column: Name The table should have the title "Labels" und the data must be loaded from the server with the following relative URL: "/CountryService/label/country/{id}" Add a HTML table to the view with the following UserAccount columns: - column: BirthDate - column: Email - column: DisplayName - column: IsPremium - column: CreatedAt - column: Region - column: IsFamilyManager - column: IsStudent - column: Country 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 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/country/{id}" Add a HTML table to the view with the following HardwareProduct columns: - column: Category - column: AnnouncedOn - column: Name - column: DiscontinuedOn - column: Country The table should have the title "HardwareProducts" und the data must be loaded from the server with the following relative URL: "/CountryService/hardwareproduct/country/{id}" Add a HTML table to the view with the following TelcoPartnership columns: - column: StartDate - column: Country - column: PartnerCompany - column: EndDate - column: Name - column: IncludesZeroRating The table should have the title "TelcoPartnerships" und the data must be loaded from the server with the following relative URL: "/PartnerCompanyService/telcopartnership/country/{id}" Add a HTML table to the view with the following CompanyEntity columns: - column: City - column: Name - column: IsParent - column: Country - column: Website - column: LegalForm The table should have the title "CompanyEntitys" und the data must be loaded from the server with the following relative URL: "/CompanyEntityService/companyentity/country/{id}" Add a HTML table to the view with the following Podcast columns: - column: IsExclusive - column: Title - column: Country - column: Language - column: Description - column: IsVideoEnabled The table should have the title "Podcasts" und the data must be loaded from the server with the following relative URL: "/CompanyEntityService/podcast/country/{id}" Add a HTML table to the view with the following CountryRegion columns: - column: MarketRegion - column: Country The table should have the title "CountryRegions" und the data must be loaded from the server with the following relative URL: "/MarketRegionService/countryregion/country/{id}" 2. The HardwareProductView must contain the following fields: - name: AnnouncedOn type: DATE - name: Category type: STRING - name: Country type: Country - name: DiscontinuedOn type: DATE - name: Name type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing HardwareProduct entity should be loaded from the relative URL: "/CountryService/hardwareproduct/{id}" (HTTP-GET) If a new HardwareProduct entity has been created, the new entity should be posted to the relative URL: "/CountryService/hardwareproduct" (HTTP-POST) If an existing HardwareProduct entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/hardwareproduct/{id}" (HTTP-PUT) If an existing HardwareProduct entity has to be deleted, the following relative URL should be called: "/CountryService/hardwareproduct/{id}" (HTTP-DELETE) 3. The InvestmentRoundInvestorView must contain the following fields: - name: InvestmentRound type: InvestmentRound - name: Investor type: Investor - name: OwnershipPercent type: DOUBLE The data source for the [InvestmentRound] select control should be loaded from the relative URL: "/CompanyEntityService/investmentround" (HTTP-GET) The data source for the [Investor] select control should be loaded from the relative URL: "/CountryService/investor" (HTTP-GET) An existing InvestmentRoundInvestor entity should be loaded from the relative URL: "/CountryService/investmentroundinvestor/{id}" (HTTP-GET) If a new InvestmentRoundInvestor entity has been created, the new entity should be posted to the relative URL: "/CountryService/investmentroundinvestor" (HTTP-POST) If an existing InvestmentRoundInvestor entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/investmentroundinvestor/{id}" (HTTP-PUT) If an existing InvestmentRoundInvestor entity has to be deleted, the following relative URL should be called: "/CountryService/investmentroundinvestor/{id}" (HTTP-DELETE) 4. The InvestorView must contain the following fields: - name: Country type: Country - name: Name type: STRING - name: Type type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing Investor entity should be loaded from the relative URL: "/CountryService/investor/{id}" (HTTP-GET) If a new Investor entity has been created, the new entity should be posted to the relative URL: "/CountryService/investor" (HTTP-POST) If an existing Investor entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/investor/{id}" (HTTP-PUT) If an existing Investor entity has to be deleted, the following relative URL should be called: "/CountryService/investor/{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/investor/{id}" 5. The LabelView must contain the following fields: - name: Country type: Country - 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 Label entity should be loaded from the relative URL: "/CountryService/label/{id}" (HTTP-GET) If a new Label entity has been created, the new entity should be posted to the relative URL: "/CountryService/label" (HTTP-POST) If an existing Label entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/label/{id}" (HTTP-PUT) If an existing Label entity has to be deleted, the following relative URL should be called: "/CountryService/label/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Album columns: - column: Title - column: ReleaseDate - column: Label The table should have the title "Albums" und the data must be loaded from the server with the following relative URL: "/TrackService/album/label/{id}" Add a HTML table to the view with the following RoyaltyRecipient columns: - column: Label - column: Type - column: Artist - column: NameOverride The table should have the title "RoyaltyRecipients" und the data must be loaded from the server with the following relative URL: "/CountryService/royaltyrecipient/label/{id}" Add a HTML table to the view with the following TrackLabel columns: - column: Label - column: Track The table should have the title "TrackLabels" und the data must be loaded from the server with the following relative URL: "/CountryService/tracklabel/label/{id}" 6. The RoyaltyRecipientView must contain the following fields: - name: Artist type: Artist - name: Label type: Label - name: NameOverride type: STRING - name: Type type: STRING The data source for the [Artist] select control should be loaded from the relative URL: "/TrackService/artist" (HTTP-GET) The data source for the [Label] select control should be loaded from the relative URL: "/CountryService/label" (HTTP-GET) An existing RoyaltyRecipient entity should be loaded from the relative URL: "/CountryService/royaltyrecipient/{id}" (HTTP-GET) If a new RoyaltyRecipient entity has been created, the new entity should be posted to the relative URL: "/CountryService/royaltyrecipient" (HTTP-POST) If an existing RoyaltyRecipient entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/royaltyrecipient/{id}" (HTTP-PUT) If an existing RoyaltyRecipient entity has to be deleted, the following relative URL should be called: "/CountryService/royaltyrecipient/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RoyaltyLine columns: - column: StreamsCount - column: RoyaltyRecipient - column: AmountUsd - column: AmountEur - column: Track - column: RoyaltyStatement - column: SharePercent The table should have the title "RoyaltyLines" und the data must be loaded from the server with the following relative URL: "/MarketRegionService/royaltyline/royaltyrecipient/{id}" 7. The TrackLabelView must contain the following fields: - name: Label type: Label - name: Track type: Track The data source for the [Label] select control should be loaded from the relative URL: "/CountryService/label" (HTTP-GET) The data source for the [Track] select control should be loaded from the relative URL: "/TrackService/track" (HTTP-GET) An existing TrackLabel entity should be loaded from the relative URL: "/CountryService/tracklabel/{id}" (HTTP-GET) If a new TrackLabel entity has been created, the new entity should be posted to the relative URL: "/CountryService/tracklabel" (HTTP-POST) If an existing TrackLabel entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/tracklabel/{id}" (HTTP-PUT) If an existing TrackLabel entity has to be deleted, the following relative URL should be called: "/CountryService/tracklabel/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint