Overview
Summary
Contact
Donate
Imprint
Prompt for the
ProgramApp
Please create a React-JS application for the ProgramModule. The application has to offer the following views for the user interface: 1. CorporateEventView 2. CorporateEventCompanyView 3. ProgramView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The CorporateEventView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: EventDate type: DATE - name: EventType type: STRING - name: ImpactSummary type: STRING - name: Title type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing CorporateEvent entity should be loaded from the relative URL: "/ProgramService/corporateevent/{id}" (HTTP-GET) If a new CorporateEvent entity has been created, the new entity should be posted to the relative URL: "/ProgramService/corporateevent" (HTTP-POST) If an existing CorporateEvent entity has been updated, the modified entity should be sent to the relative URL: "/ProgramService/corporateevent/{id}" (HTTP-PUT) If an existing CorporateEvent entity has to be deleted, the following relative URL should be called: "/ProgramService/corporateevent/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CorporateEventCompany columns: - column: CorporateEvent - column: Company - column: Role The table should have the title "CorporateEventCompanys" und the data must be loaded from the server with the following relative URL: "/ProgramService/corporateeventcompany/corporateevent/{id}" 2. The CorporateEventCompanyView must contain the following fields: - name: Company type: Company - name: CorporateEvent type: CorporateEvent - name: Role 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 [CorporateEvent] select control should be loaded from the relative URL: "/ProgramService/corporateevent" (HTTP-GET) An existing CorporateEventCompany entity should be loaded from the relative URL: "/ProgramService/corporateeventcompany/{id}" (HTTP-GET) If a new CorporateEventCompany entity has been created, the new entity should be posted to the relative URL: "/ProgramService/corporateeventcompany" (HTTP-POST) If an existing CorporateEventCompany entity has been updated, the modified entity should be sent to the relative URL: "/ProgramService/corporateeventcompany/{id}" (HTTP-PUT) If an existing CorporateEventCompany entity has to be deleted, the following relative URL should be called: "/ProgramService/corporateeventcompany/{id}" (HTTP-DELETE) 3. The ProgramView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: EndDate type: DATE - name: Name type: STRING - name: ProgramType type: STRING - name: StartDate type: DATE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Program entity should be loaded from the relative URL: "/ProgramService/program/{id}" (HTTP-GET) If a new Program entity has been created, the new entity should be posted to the relative URL: "/ProgramService/program" (HTTP-POST) If an existing Program entity has been updated, the modified entity should be sent to the relative URL: "/ProgramService/program/{id}" (HTTP-PUT) If an existing Program entity has to be deleted, the following relative URL should be called: "/ProgramService/program/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProgramParticipation columns: - column: EndDate - column: StartDate - column: ParticipantCompany - column: ParticipantPerson - column: Program - column: Role - column: Outcome The table should have the title "ProgramParticipations" und the data must be loaded from the server with the following relative URL: "/CompanyService/programparticipation/program/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint