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. DeliveryServiceView 2. ProgramView 3. ProgramPersonView 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 DeliveryServiceView must contain the following fields: - name: Description type: STRING - name: EndDate type: DATE - name: PartnerCompany type: Company - name: Program type: Program - 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 [Program] select control should be loaded from the relative URL: "/ProgramService/program" (HTTP-GET) An existing DeliveryService entity should be loaded from the relative URL: "/ProgramService/deliveryservice/{id}" (HTTP-GET) If a new DeliveryService entity has been created, the new entity should be posted to the relative URL: "/ProgramService/deliveryservice" (HTTP-POST) If an existing DeliveryService entity has been updated, the modified entity should be sent to the relative URL: "/ProgramService/deliveryservice/{id}" (HTTP-PUT) If an existing DeliveryService entity has to be deleted, the following relative URL should be called: "/ProgramService/deliveryservice/{id}" (HTTP-DELETE) 2. 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 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/program/{id}" Add a HTML table to the view with the following ProgramPerson columns: - column: Person - column: RoleDescription - column: Program The table should have the title "ProgramPersons" und the data must be loaded from the server with the following relative URL: "/ProgramService/programperson/program/{id}" Add a HTML table to the view with the following DeliveryService columns: - column: Program - column: Description - column: StartDate - column: EndDate - column: PartnerCompany The table should have the title "DeliveryServices" und the data must be loaded from the server with the following relative URL: "/ProgramService/deliveryservice/program/{id}" Add a HTML table to the view with the following TruckingOperation columns: - column: HubCity - column: Notes - column: EndDate - column: PartnerCompany - column: VehicleModel - column: StartDate - column: Program - column: HubState The table should have the title "TruckingOperations" und the data must be loaded from the server with the following relative URL: "/VehicleModelService/truckingoperation/program/{id}" Add a HTML table to the view with the following RobotaxiService columns: - column: WithPartner - column: IsCommercial - column: AccessMethod - column: PartnerCompany - column: WaitlistStatus - column: ServiceArea - column: Program The table should have the title "RobotaxiServices" und the data must be loaded from the server with the following relative URL: "/CompanyService/robotaxiservice/program/{id}" Add a HTML table to the view with the following ServiceExpansionPlan columns: - column: Status - column: TargetCountry - column: TargetYear - column: TargetCity - column: Notes - column: Program The table should have the title "ServiceExpansionPlans" und the data must be loaded from the server with the following relative URL: "/CountryService/serviceexpansionplan/program/{id}" Add a HTML table to the view with the following PublicTransitIntegration columns: - column: Program - column: Description - column: TransitAgencyName - column: City - column: StartDate The table should have the title "PublicTransitIntegrations" und the data must be loaded from the server with the following relative URL: "/CityService/publictransitintegration/program/{id}" Add a HTML table to the view with the following Accident columns: - column: FatalityCount - column: AccidentDate - column: Program - column: InjuryCount - column: PropertyDamageFlag - column: Company - column: Description - column: ServiceArea - column: SourceAgency - column: Severity The table should have the title "Accidents" und the data must be loaded from the server with the following relative URL: "/AccidentService/accident/program/{id}" 3. The ProgramPersonView must contain the following fields: - name: Person type: Person - name: Program type: Program - name: RoleDescription type: STRING The data source for the [Program] select control should be loaded from the relative URL: "/ProgramService/program" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/CompanyService/person" (HTTP-GET) An existing ProgramPerson entity should be loaded from the relative URL: "/ProgramService/programperson/{id}" (HTTP-GET) If a new ProgramPerson entity has been created, the new entity should be posted to the relative URL: "/ProgramService/programperson" (HTTP-POST) If an existing ProgramPerson entity has been updated, the modified entity should be sent to the relative URL: "/ProgramService/programperson/{id}" (HTTP-PUT) If an existing ProgramPerson entity has to be deleted, the following relative URL should be called: "/ProgramService/programperson/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint