Overview
Summary
Contact
Donate
Imprint
Prompt for the
AuctionApp
Please create a React-JS application for the AuctionModule. The application has to offer the following views for the user interface: 1. AuctionView 2. BidView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The AuctionView must contain the following fields: - name: AutoExtendEnabled type: BOOL - name: Listing type: Listing - name: MinimumBidIncrement type: STRING - name: ReservePrice type: STRING The data source for the [Listing] select control should be loaded from the relative URL: "/ListingService/listing" (HTTP-GET) An existing Auction entity should be loaded from the relative URL: "/AuctionService/auction/{id}" (HTTP-GET) If a new Auction entity has been created, the new entity should be posted to the relative URL: "/AuctionService/auction" (HTTP-POST) If an existing Auction entity has been updated, the modified entity should be sent to the relative URL: "/AuctionService/auction/{id}" (HTTP-PUT) If an existing Auction entity has to be deleted, the following relative URL should be called: "/AuctionService/auction/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Bid columns: - column: BidAmount - column: Auction - column: Currency - column: BidTime - column: IsWinning - column: BidderUserAccount The table should have the title "Bids" und the data must be loaded from the server with the following relative URL: "/AuctionService/bid/auction/{id}" 2. The BidView must contain the following fields: - name: Auction type: Auction - name: BidAmount type: STRING - name: BidderUserAccount type: UserAccount - name: BidTime type: DATE - name: Currency type: STRING - name: IsWinning type: BOOL The data source for the [Auction] select control should be loaded from the relative URL: "/AuctionService/auction" (HTTP-GET) The data source for the [BidderUserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Bid entity should be loaded from the relative URL: "/AuctionService/bid/{id}" (HTTP-GET) If a new Bid entity has been created, the new entity should be posted to the relative URL: "/AuctionService/bid" (HTTP-POST) If an existing Bid entity has been updated, the modified entity should be sent to the relative URL: "/AuctionService/bid/{id}" (HTTP-PUT) If an existing Bid entity has to be deleted, the following relative URL should be called: "/AuctionService/bid/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint