Overview
Summary
Contact
Donate
Imprint
Prompt for the
OrganizationApp
Please create a React-JS application for the OrganizationModule. The application has to offer the following views for the user interface: 1. DonationCampaignView 2. EventView 3. LotteryView 4. OrganizationView 5. ZeppelinClassView 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 DonationCampaignView must contain the following fields: - name: AmountRaised type: STRING - name: BeneficiaryOrganization type: Organization - name: Currency type: STRING - name: Description type: STRING - name: EndDate type: DATE - name: Name type: STRING - name: RelatedEvent type: Event - name: StartDate type: DATE The data source for the [BeneficiaryOrganization] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) The data source for the [RelatedEvent] select control should be loaded from the relative URL: "/OrganizationService/event" (HTTP-GET) An existing DonationCampaign entity should be loaded from the relative URL: "/OrganizationService/donationcampaign/{id}" (HTTP-GET) If a new DonationCampaign entity has been created, the new entity should be posted to the relative URL: "/OrganizationService/donationcampaign" (HTTP-POST) If an existing DonationCampaign entity has been updated, the modified entity should be sent to the relative URL: "/OrganizationService/donationcampaign/{id}" (HTTP-PUT) If an existing DonationCampaign entity has to be deleted, the following relative URL should be called: "/OrganizationService/donationcampaign/{id}" (HTTP-DELETE) 2. The EventView must contain the following fields: - name: DateTime type: DATE - name: Description type: STRING - name: EventType type: STRING - name: Location type: Location - name: Name type: STRING - name: RelatedOrganization type: Organization - name: RelatedZeppelin type: Zeppelin The data source for the [RelatedOrganization] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) The data source for the [RelatedZeppelin] select control should be loaded from the relative URL: "/ZeppelinService/zeppelin" (HTTP-GET) The data source for the [Location] select control should be loaded from the relative URL: "/LocationService/location" (HTTP-GET) An existing Event entity should be loaded from the relative URL: "/OrganizationService/event/{id}" (HTTP-GET) If a new Event entity has been created, the new entity should be posted to the relative URL: "/OrganizationService/event" (HTTP-POST) If an existing Event entity has been updated, the modified entity should be sent to the relative URL: "/OrganizationService/event/{id}" (HTTP-PUT) If an existing Event entity has to be deleted, the following relative URL should be called: "/OrganizationService/event/{id}" (HTTP-DELETE) Add a HTML table to the view with the following DonationCampaign columns: - column: BeneficiaryOrganization - column: Name - column: AmountRaised - column: StartDate - column: EndDate - column: RelatedEvent - column: Currency - column: Description The table should have the title "DonationCampaigns" und the data must be loaded from the server with the following relative URL: "/OrganizationService/donationcampaign/relatedevent/{id}" Add a HTML table to the view with the following Lottery columns: - column: StartDate - column: Name - column: EndDate - column: RelatedEvent - column: Description - column: ProceedsAmount - column: Currency - column: BeneficiaryOrganization The table should have the title "Lotterys" und the data must be loaded from the server with the following relative URL: "/OrganizationService/lottery/relatedevent/{id}" 3. The LotteryView must contain the following fields: - name: BeneficiaryOrganization type: Organization - name: Currency type: STRING - name: Description type: STRING - name: EndDate type: DATE - name: Name type: STRING - name: ProceedsAmount type: STRING - name: RelatedEvent type: Event - name: StartDate type: DATE The data source for the [BeneficiaryOrganization] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) The data source for the [RelatedEvent] select control should be loaded from the relative URL: "/OrganizationService/event" (HTTP-GET) An existing Lottery entity should be loaded from the relative URL: "/OrganizationService/lottery/{id}" (HTTP-GET) If a new Lottery entity has been created, the new entity should be posted to the relative URL: "/OrganizationService/lottery" (HTTP-POST) If an existing Lottery entity has been updated, the modified entity should be sent to the relative URL: "/OrganizationService/lottery/{id}" (HTTP-PUT) If an existing Lottery entity has to be deleted, the following relative URL should be called: "/OrganizationService/lottery/{id}" (HTTP-DELETE) 4. The OrganizationView must contain the following fields: - name: FoundedOn type: DATE - name: HeadquartersLocation type: Location - name: Name type: STRING - name: OrganizationType type: STRING - name: Website type: STRING The data source for the [HeadquartersLocation] select control should be loaded from the relative URL: "/LocationService/location" (HTTP-GET) An existing Organization entity should be loaded from the relative URL: "/OrganizationService/organization/{id}" (HTTP-GET) If a new Organization entity has been created, the new entity should be posted to the relative URL: "/OrganizationService/organization" (HTTP-POST) If an existing Organization entity has been updated, the modified entity should be sent to the relative URL: "/OrganizationService/organization/{id}" (HTTP-PUT) If an existing Organization entity has to be deleted, the following relative URL should be called: "/OrganizationService/organization/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ZeppelinClass columns: - column: EndYear - column: MaxSpeedKmh - column: StartYear - column: Name - column: Manufacturer - column: VolumeCubicMeters - column: MaxPayloadTons - column: LengthMeters - column: Notes The table should have the title "ZeppelinClasss" und the data must be loaded from the server with the following relative URL: "/OrganizationService/zeppelinclass/manufacturer/{id}" Add a HTML table to the view with the following Engine columns: - column: Cylinders - column: Name - column: PowerHp - column: Manufacturer - column: FuelType - column: PowerKw The table should have the title "Engines" und the data must be loaded from the server with the following relative URL: "/EngineService/engine/manufacturer/{id}" Add a HTML table to the view with the following DonationCampaign columns: - column: BeneficiaryOrganization - column: Name - column: AmountRaised - column: StartDate - column: EndDate - column: RelatedEvent - column: Currency - column: Description The table should have the title "DonationCampaigns" und the data must be loaded from the server with the following relative URL: "/OrganizationService/donationcampaign/beneficiaryorganization/{id}" Add a HTML table to the view with the following Zeppelin columns: - column: Code - column: ConstructionNumber - column: FirstFlightDate - column: LastFlightDate - column: ZeppelinClass - column: HomeBaseLocation - column: Status - column: Name - column: Operator - column: Notes The table should have the title "Zeppelins" und the data must be loaded from the server with the following relative URL: "/ZeppelinService/zeppelin/operator/{id}" Add a HTML table to the view with the following Foundation columns: - column: EstablishedOn - column: Name - column: Purpose - column: Organization The table should have the title "Foundations" und the data must be loaded from the server with the following relative URL: "/GiftVoucherService/foundation/organization/{id}" Add a HTML table to the view with the following Lottery columns: - column: StartDate - column: Name - column: EndDate - column: RelatedEvent - column: Description - column: ProceedsAmount - column: Currency - column: BeneficiaryOrganization The table should have the title "Lotterys" und the data must be loaded from the server with the following relative URL: "/OrganizationService/lottery/beneficiaryorganization/{id}" Add a HTML table to the view with the following Event columns: - column: DateTime - column: Name - column: RelatedZeppelin - column: RelatedOrganization - column: Location - column: EventType - column: Description The table should have the title "Events" und the data must be loaded from the server with the following relative URL: "/OrganizationService/event/relatedorganization/{id}" Add a HTML table to the view with the following JobPosting columns: - column: ExpiresOn - column: Department - column: Title - column: Description - column: Organization - column: PostedOn - column: Location - column: EmploymentType The table should have the title "JobPostings" und the data must be loaded from the server with the following relative URL: "/LocationService/jobposting/organization/{id}" 5. The ZeppelinClassView must contain the following fields: - name: EndYear type: INT - name: LengthMeters type: STRING - name: Manufacturer type: Organization - name: MaxPayloadTons type: STRING - name: MaxSpeedKmh type: STRING - name: Name type: STRING - name: Notes type: STRING - name: StartYear type: INT - name: VolumeCubicMeters type: STRING The data source for the [Manufacturer] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) An existing ZeppelinClass entity should be loaded from the relative URL: "/OrganizationService/zeppelinclass/{id}" (HTTP-GET) If a new ZeppelinClass entity has been created, the new entity should be posted to the relative URL: "/OrganizationService/zeppelinclass" (HTTP-POST) If an existing ZeppelinClass entity has been updated, the modified entity should be sent to the relative URL: "/OrganizationService/zeppelinclass/{id}" (HTTP-PUT) If an existing ZeppelinClass entity has to be deleted, the following relative URL should be called: "/OrganizationService/zeppelinclass/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Zeppelin columns: - column: Code - column: ConstructionNumber - column: FirstFlightDate - column: LastFlightDate - column: ZeppelinClass - column: HomeBaseLocation - column: Status - column: Name - column: Operator - column: Notes The table should have the title "Zeppelins" und the data must be loaded from the server with the following relative URL: "/ZeppelinService/zeppelin/zeppelinclass/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint