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. BankAccountView 2. CountryView 3. SanctionListEntryView 4. UserAddressView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The BankAccountView must contain the following fields: - name: AccountNumberMasked type: STRING - name: BankName type: STRING - name: Bic type: STRING - name: Country type: Country - name: FundingSource type: FundingSource - name: Iban type: STRING - name: VerifiedAt type: DATE The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [FundingSource] select control should be loaded from the relative URL: "/FundingSourceService/fundingsource" (HTTP-GET) An existing BankAccount entity should be loaded from the relative URL: "/CountryService/bankaccount/{id}" (HTTP-GET) If a new BankAccount entity has been created, the new entity should be posted to the relative URL: "/CountryService/bankaccount" (HTTP-POST) If an existing BankAccount entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/bankaccount/{id}" (HTTP-PUT) If an existing BankAccount entity has to be deleted, the following relative URL should be called: "/CountryService/bankaccount/{id}" (HTTP-DELETE) 2. The CountryView must contain the following fields: - name: IsoCode2 type: STRING - name: IsoCode3 type: STRING - name: Name type: STRING - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) 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 RegulatoryLicense columns: - column: AuthorityName - column: Region - column: Status - column: LicenseType - column: IssuedAt - column: Country - column: LicenseNumber - column: ExpiresAt The table should have the title "RegulatoryLicenses" und the data must be loaded from the server with the following relative URL: "/RegionService/regulatorylicense/country/{id}" Add a HTML table to the view with the following UserAddress columns: - column: Line1 - column: State - column: Line2 - column: PostalCode - column: UserAccount - column: IsPrimary - column: City - column: AddressType - column: Country The table should have the title "UserAddresss" und the data must be loaded from the server with the following relative URL: "/CountryService/useraddress/country/{id}" Add a HTML table to the view with the following MerchantAddress columns: - column: PostalCode - column: State - column: AddressType - column: Merchant - column: City - column: Line2 - column: Line1 - column: Country The table should have the title "MerchantAddresss" und the data must be loaded from the server with the following relative URL: "/MerchantService/merchantaddress/country/{id}" Add a HTML table to the view with the following PaymentCard columns: - column: VerifiedAt - column: ExpiryMonth - column: CardNetwork - column: FundingSource - column: Country - column: ExpiryYear - column: CardholderName - column: Last4 The table should have the title "PaymentCards" und the data must be loaded from the server with the following relative URL: "/FundingSourceService/paymentcard/country/{id}" Add a HTML table to the view with the following SanctionListEntry columns: - column: ExternalReference - column: Active - column: Country - column: FullName - column: ListName - column: DateOfBirth The table should have the title "SanctionListEntrys" und the data must be loaded from the server with the following relative URL: "/CountryService/sanctionlistentry/country/{id}" Add a HTML table to the view with the following BankAccount columns: - column: FundingSource - column: BankName - column: AccountNumberMasked - column: Bic - column: Country - column: VerifiedAt - column: Iban The table should have the title "BankAccounts" und the data must be loaded from the server with the following relative URL: "/CountryService/bankaccount/country/{id}" 3. The SanctionListEntryView must contain the following fields: - name: Active type: BOOL - name: Country type: Country - name: DateOfBirth type: DATE - name: ExternalReference type: STRING - name: FullName type: STRING - name: ListName type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing SanctionListEntry entity should be loaded from the relative URL: "/CountryService/sanctionlistentry/{id}" (HTTP-GET) If a new SanctionListEntry entity has been created, the new entity should be posted to the relative URL: "/CountryService/sanctionlistentry" (HTTP-POST) If an existing SanctionListEntry entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/sanctionlistentry/{id}" (HTTP-PUT) If an existing SanctionListEntry entity has to be deleted, the following relative URL should be called: "/CountryService/sanctionlistentry/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ComplianceCheck columns: - column: Transaction - column: CheckType - column: PerformedAt - column: Details - column: UserAccount - column: Status - column: SanctionListEntry - column: Result The table should have the title "ComplianceChecks" und the data must be loaded from the server with the following relative URL: "/UserAccountService/compliancecheck/sanctionlistentry/{id}" 4. The UserAddressView must contain the following fields: - name: AddressType type: STRING - name: City type: STRING - name: Country type: Country - name: IsPrimary type: BOOL - name: Line1 type: STRING - name: Line2 type: STRING - name: PostalCode type: STRING - name: State type: STRING - name: UserAccount type: UserAccount The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing UserAddress entity should be loaded from the relative URL: "/CountryService/useraddress/{id}" (HTTP-GET) If a new UserAddress entity has been created, the new entity should be posted to the relative URL: "/CountryService/useraddress" (HTTP-POST) If an existing UserAddress entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/useraddress/{id}" (HTTP-PUT) If an existing UserAddress entity has to be deleted, the following relative URL should be called: "/CountryService/useraddress/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint