Overview
Summary
Contact
Donate
Imprint
Prompt for the
MenuItemTagApp
Please create a React-JS application for the MenuItemTagModule. The application has to offer the following views for the user interface: 1. DeliveryAreaView 2. MenuItemTagView 3. MenuItemTagLinkView 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 DeliveryAreaView must contain the following fields: - name: City type: City - name: DeliveryFee type: STRING - name: IsActive type: BOOL - name: MinimumOrderAmount type: STRING - name: Name type: STRING - name: PostalCode type: STRING - name: Restaurant type: Restaurant The data source for the [Restaurant] select control should be loaded from the relative URL: "/RestaurantService/restaurant" (HTTP-GET) The data source for the [City] select control should be loaded from the relative URL: "/RestaurantService/city" (HTTP-GET) An existing DeliveryArea entity should be loaded from the relative URL: "/MenuItemTagService/deliveryarea/{id}" (HTTP-GET) If a new DeliveryArea entity has been created, the new entity should be posted to the relative URL: "/MenuItemTagService/deliveryarea" (HTTP-POST) If an existing DeliveryArea entity has been updated, the modified entity should be sent to the relative URL: "/MenuItemTagService/deliveryarea/{id}" (HTTP-PUT) If an existing DeliveryArea entity has to be deleted, the following relative URL should be called: "/MenuItemTagService/deliveryarea/{id}" (HTTP-DELETE) 2. The MenuItemTagView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing MenuItemTag entity should be loaded from the relative URL: "/MenuItemTagService/menuitemtag/{id}" (HTTP-GET) If a new MenuItemTag entity has been created, the new entity should be posted to the relative URL: "/MenuItemTagService/menuitemtag" (HTTP-POST) If an existing MenuItemTag entity has been updated, the modified entity should be sent to the relative URL: "/MenuItemTagService/menuitemtag/{id}" (HTTP-PUT) If an existing MenuItemTag entity has to be deleted, the following relative URL should be called: "/MenuItemTagService/menuitemtag/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MenuItemTagLink columns: - column: MenuItemTag - column: MenuItem The table should have the title "MenuItemTagLinks" und the data must be loaded from the server with the following relative URL: "/MenuItemTagService/menuitemtaglink/menuitemtag/{id}" 3. The MenuItemTagLinkView must contain the following fields: - name: MenuItem type: MenuItem - name: MenuItemTag type: MenuItemTag The data source for the [MenuItemTag] select control should be loaded from the relative URL: "/MenuItemTagService/menuitemtag" (HTTP-GET) The data source for the [MenuItem] select control should be loaded from the relative URL: "/MenuItemService/menuitem" (HTTP-GET) An existing MenuItemTagLink entity should be loaded from the relative URL: "/MenuItemTagService/menuitemtaglink/{id}" (HTTP-GET) If a new MenuItemTagLink entity has been created, the new entity should be posted to the relative URL: "/MenuItemTagService/menuitemtaglink" (HTTP-POST) If an existing MenuItemTagLink entity has been updated, the modified entity should be sent to the relative URL: "/MenuItemTagService/menuitemtaglink/{id}" (HTTP-PUT) If an existing MenuItemTagLink entity has to be deleted, the following relative URL should be called: "/MenuItemTagService/menuitemtaglink/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint