Overview
Summary
Contact
Donate
Imprint
Prompt for the
CompanyApp
Please create a React-JS application for the CompanyModule. The application has to offer the following views for the user interface: 1. CompanyView 2. CompanyRoleView 3. ContractView 4. ProgramView 5. ShipView 6. ShipAssignmentView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. The CompanyView must contain the following fields: - name: FoundedDate type: DATE - name: HeadquartersCity type: STRING - name: HeadquartersCountry type: STRING - name: HeadquartersRegion type: STRING - name: Industry type: STRING - name: LegalForm type: STRING - name: Name type: STRING - name: Notes type: STRING - name: Website type: STRING An existing Company entity should be loaded from the relative URL: "/CompanyService/company/{id}" (HTTP-GET) If a new Company entity has been created, the new entity should be posted to the relative URL: "/CompanyService/company" (HTTP-POST) If an existing Company entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/company/{id}" (HTTP-PUT) If an existing Company entity has to be deleted, the following relative URL should be called: "/CompanyService/company/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LaunchVehicle columns: - column: Status - column: Company - column: FirstFlightDate - column: Family - column: Name - column: Notes - column: MaxPayloadGtoT - column: Reusable - column: MaxPayloadLeoT The table should have the title "LaunchVehicles" und the data must be loaded from the server with the following relative URL: "/LaunchVehicleService/launchvehicle/company/{id}" Add a HTML table to the view with the following Contract columns: - column: Name - column: EndDate - column: Program - column: Description - column: ValueUsd - column: SignedDate - column: StartDate - column: Company - column: Customer The table should have the title "Contracts" und the data must be loaded from the server with the following relative URL: "/CompanyService/contract/company/{id}" Add a HTML table to the view with the following Facility columns: - column: Latitude - column: Company - column: Name - column: Notes - column: Country - column: City - column: Region - column: FacilityType - column: Longitude The table should have the title "Facilitys" und the data must be loaded from the server with the following relative URL: "/FacilityService/facility/company/{id}" Add a HTML table to the view with the following Ship columns: - column: Name - column: ShipType - column: HomePort - column: Company - column: Notes The table should have the title "Ships" und the data must be loaded from the server with the following relative URL: "/CompanyService/ship/company/{id}" Add a HTML table to the view with the following Satellite columns: - column: Notes - column: Purpose - column: DesignLifeYears - column: Payload - column: Operator The table should have the title "Satellites" und the data must be loaded from the server with the following relative URL: "/CustomerService/satellite/operator/{id}" Add a HTML table to the view with the following Mission columns: - column: Notes - column: Spacecraft - column: Contract - column: Customer - column: Company - column: Name - column: LaunchVehicle - column: LandingSite - column: Program - column: MissionType - column: Orbit - column: LaunchDateTime - column: Description - column: LaunchSite - column: Success The table should have the title "Missions" und the data must be loaded from the server with the following relative URL: "/MissionService/mission/company/{id}" Add a HTML table to the view with the following CompanyRole columns: - column: Title - column: Notes - column: Company - column: Person - column: StartDate - column: EndDate The table should have the title "CompanyRoles" und the data must be loaded from the server with the following relative URL: "/CompanyService/companyrole/company/{id}" Add a HTML table to the view with the following Spacecraft columns: - column: Status - column: SpacecraftType - column: Notes - column: Reusable - column: Company - column: Name - column: FirstFlightDate The table should have the title "Spacecrafts" und the data must be loaded from the server with the following relative URL: "/MissionService/spacecraft/company/{id}" Add a HTML table to the view with the following Program columns: - column: EndDate - column: Description - column: Company - column: Name - column: ProgramType - column: Notes - column: StartDate The table should have the title "Programs" und the data must be loaded from the server with the following relative URL: "/CompanyService/program/company/{id}" Add a HTML table to the view with the following RocketEngine columns: - column: CycleType - column: Company - column: Name - column: ThrustKn - column: Notes - column: SpecificImpulseVacSec The table should have the title "RocketEngines" und the data must be loaded from the server with the following relative URL: "/ShipRoleService/rocketengine/company/{id}" Add a HTML table to the view with the following StarlinkNetwork columns: - column: Name - column: Notes - column: Description - column: Company - column: StartDate The table should have the title "StarlinkNetworks" und the data must be loaded from the server with the following relative URL: "/StarlinkNetworkService/starlinknetwork/company/{id}" 2. The CompanyRoleView must contain the following fields: - name: Company type: Company - name: EndDate type: DATE - name: Notes type: STRING - name: Person type: Person - name: StartDate type: DATE - name: Title 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 [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing CompanyRole entity should be loaded from the relative URL: "/CompanyService/companyrole/{id}" (HTTP-GET) If a new CompanyRole entity has been created, the new entity should be posted to the relative URL: "/CompanyService/companyrole" (HTTP-POST) If an existing CompanyRole entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/companyrole/{id}" (HTTP-PUT) If an existing CompanyRole entity has to be deleted, the following relative URL should be called: "/CompanyService/companyrole/{id}" (HTTP-DELETE) 3. The ContractView must contain the following fields: - name: Company type: Company - name: Customer type: Customer - name: Description type: STRING - name: EndDate type: DATE - name: Name type: STRING - name: Program type: Program - name: SignedDate type: DATE - name: StartDate type: DATE - name: ValueUsd 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 [Program] select control should be loaded from the relative URL: "/CompanyService/program" (HTTP-GET) The data source for the [Customer] select control should be loaded from the relative URL: "/CustomerService/customer" (HTTP-GET) An existing Contract entity should be loaded from the relative URL: "/CompanyService/contract/{id}" (HTTP-GET) If a new Contract entity has been created, the new entity should be posted to the relative URL: "/CompanyService/contract" (HTTP-POST) If an existing Contract entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/contract/{id}" (HTTP-PUT) If an existing Contract entity has to be deleted, the following relative URL should be called: "/CompanyService/contract/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Mission columns: - column: Notes - column: Spacecraft - column: Contract - column: Customer - column: Company - column: Name - column: LaunchVehicle - column: LandingSite - column: Program - column: MissionType - column: Orbit - column: LaunchDateTime - column: Description - column: LaunchSite - column: Success The table should have the title "Missions" und the data must be loaded from the server with the following relative URL: "/MissionService/mission/contract/{id}" 4. The ProgramView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: EndDate type: DATE - name: Name type: STRING - name: Notes 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: "/CompanyService/program/{id}" (HTTP-GET) If a new Program entity has been created, the new entity should be posted to the relative URL: "/CompanyService/program" (HTTP-POST) If an existing Program entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/program/{id}" (HTTP-PUT) If an existing Program entity has to be deleted, the following relative URL should be called: "/CompanyService/program/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Contract columns: - column: Name - column: EndDate - column: Program - column: Description - column: ValueUsd - column: SignedDate - column: StartDate - column: Company - column: Customer The table should have the title "Contracts" und the data must be loaded from the server with the following relative URL: "/CompanyService/contract/program/{id}" Add a HTML table to the view with the following Mission columns: - column: Notes - column: Spacecraft - column: Contract - column: Customer - column: Company - column: Name - column: LaunchVehicle - column: LandingSite - column: Program - column: MissionType - column: Orbit - column: LaunchDateTime - column: Description - column: LaunchSite - column: Success The table should have the title "Missions" und the data must be loaded from the server with the following relative URL: "/MissionService/mission/program/{id}" 5. The ShipView must contain the following fields: - name: Company type: Company - name: HomePort type: STRING - name: Name type: STRING - name: Notes type: STRING - name: ShipType type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Ship entity should be loaded from the relative URL: "/CompanyService/ship/{id}" (HTTP-GET) If a new Ship entity has been created, the new entity should be posted to the relative URL: "/CompanyService/ship" (HTTP-POST) If an existing Ship entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/ship/{id}" (HTTP-PUT) If an existing Ship entity has to be deleted, the following relative URL should be called: "/CompanyService/ship/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ShipAssignment columns: - column: ShipRole - column: Notes - column: Mission - column: Ship The table should have the title "ShipAssignments" und the data must be loaded from the server with the following relative URL: "/CompanyService/shipassignment/ship/{id}" 6. The ShipAssignmentView must contain the following fields: - name: Mission type: Mission - name: Notes type: STRING - name: Ship type: Ship - name: ShipRole type: ShipRole The data source for the [ShipRole] select control should be loaded from the relative URL: "/ShipRoleService/shiprole" (HTTP-GET) The data source for the [Mission] select control should be loaded from the relative URL: "/MissionService/mission" (HTTP-GET) The data source for the [Ship] select control should be loaded from the relative URL: "/CompanyService/ship" (HTTP-GET) An existing ShipAssignment entity should be loaded from the relative URL: "/CompanyService/shipassignment/{id}" (HTTP-GET) If a new ShipAssignment entity has been created, the new entity should be posted to the relative URL: "/CompanyService/shipassignment" (HTTP-POST) If an existing ShipAssignment entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/shipassignment/{id}" (HTTP-PUT) If an existing ShipAssignment entity has to be deleted, the following relative URL should be called: "/CompanyService/shipassignment/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint