Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ArenaApp
Please create a React-JS application for the ArenaModule. The application has to offer the following views for the user interface: 1. ArenaView 2. SportsLeagueView 3. SportsMatchView 4. SportsTeamView 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 ArenaView must contain the following fields: - name: Address type: STRING - name: City type: STRING - name: Country type: STRING - name: Description type: STRING - name: Name type: STRING - name: OpenedDate type: DATE - name: PostalCode type: STRING - name: WebsiteUrl type: STRING An existing Arena entity should be loaded from the relative URL: "/ArenaService/arena/{id}" (HTTP-GET) If a new Arena entity has been created, the new entity should be posted to the relative URL: "/ArenaService/arena" (HTTP-POST) If an existing Arena entity has been updated, the modified entity should be sent to the relative URL: "/ArenaService/arena/{id}" (HTTP-PUT) If an existing Arena entity has to be deleted, the following relative URL should be called: "/ArenaService/arena/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Event columns: - column: ExternalReference - column: TicketUrl - column: DoorOpenTime - column: StartDateTime - column: Organizer - column: EndDateTime - column: Subtitle - column: VenueArea - column: Language - column: Arena - column: Name - column: Description - column: IsCanceled - column: EventSeries - column: IsPostponed - column: EventCategory - column: MinimumAge The table should have the title "Events" und the data must be loaded from the server with the following relative URL: "/EventService/event/arena/{id}" Add a HTML table to the view with the following VenueArea columns: - column: Arena - column: Name - column: Capacity - column: Description - column: Type The table should have the title "VenueAreas" und the data must be loaded from the server with the following relative URL: "/VenueAreaService/venuearea/arena/{id}" Add a HTML table to the view with the following SportsTeam columns: - column: Country - column: ShortName - column: City - column: IsHomeTeam - column: HomeArena - column: Name - column: WebsiteUrl The table should have the title "SportsTeams" und the data must be loaded from the server with the following relative URL: "/ArenaService/sportsteam/homearena/{id}" 2. The SportsLeagueView must contain the following fields: - name: Country type: STRING - name: Level type: STRING - name: Name type: STRING - name: Sport type: STRING An existing SportsLeague entity should be loaded from the relative URL: "/ArenaService/sportsleague/{id}" (HTTP-GET) If a new SportsLeague entity has been created, the new entity should be posted to the relative URL: "/ArenaService/sportsleague" (HTTP-POST) If an existing SportsLeague entity has been updated, the modified entity should be sent to the relative URL: "/ArenaService/sportsleague/{id}" (HTTP-PUT) If an existing SportsLeague entity has to be deleted, the following relative URL should be called: "/ArenaService/sportsleague/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SportsMatch columns: - column: League - column: Notes - column: IsPenalty - column: HomeScore - column: MatchDay - column: HomeTeam - column: AwayTeam - column: AwayScore - column: IsOvertime - column: Event The table should have the title "SportsMatchs" und the data must be loaded from the server with the following relative URL: "/ArenaService/sportsmatch/league/{id}" 3. The SportsMatchView must contain the following fields: - name: AwayScore type: LONG - name: AwayTeam type: SportsTeam - name: Event type: Event - name: HomeScore type: LONG - name: HomeTeam type: SportsTeam - name: IsOvertime type: BOOL - name: IsPenalty type: BOOL - name: League type: SportsLeague - name: MatchDay type: LONG - name: Notes type: STRING The data source for the [League] select control should be loaded from the relative URL: "/ArenaService/sportsleague" (HTTP-GET) The data source for the [AwayTeam] select control should be loaded from the relative URL: "/ArenaService/sportsteam" (HTTP-GET) The data source for the [HomeTeam] select control should be loaded from the relative URL: "/ArenaService/sportsteam" (HTTP-GET) The data source for the [Event] select control should be loaded from the relative URL: "/EventService/event" (HTTP-GET) An existing SportsMatch entity should be loaded from the relative URL: "/ArenaService/sportsmatch/{id}" (HTTP-GET) If a new SportsMatch entity has been created, the new entity should be posted to the relative URL: "/ArenaService/sportsmatch" (HTTP-POST) If an existing SportsMatch entity has been updated, the modified entity should be sent to the relative URL: "/ArenaService/sportsmatch/{id}" (HTTP-PUT) If an existing SportsMatch entity has to be deleted, the following relative URL should be called: "/ArenaService/sportsmatch/{id}" (HTTP-DELETE) 4. The SportsTeamView must contain the following fields: - name: City type: STRING - name: Country type: STRING - name: HomeArena type: Arena - name: IsHomeTeam type: BOOL - name: Name type: STRING - name: ShortName type: STRING - name: WebsiteUrl type: STRING The data source for the [HomeArena] select control should be loaded from the relative URL: "/ArenaService/arena" (HTTP-GET) An existing SportsTeam entity should be loaded from the relative URL: "/ArenaService/sportsteam/{id}" (HTTP-GET) If a new SportsTeam entity has been created, the new entity should be posted to the relative URL: "/ArenaService/sportsteam" (HTTP-POST) If an existing SportsTeam entity has been updated, the modified entity should be sent to the relative URL: "/ArenaService/sportsteam/{id}" (HTTP-PUT) If an existing SportsTeam entity has to be deleted, the following relative URL should be called: "/ArenaService/sportsteam/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SportsMatch columns: - column: League - column: Notes - column: IsPenalty - column: HomeScore - column: MatchDay - column: HomeTeam - column: AwayTeam - column: AwayScore - column: IsOvertime - column: Event The table should have the title "SportsMatchs" und the data must be loaded from the server with the following relative URL: "/ArenaService/sportsmatch/hometeam/{id}" Add a HTML table to the view with the following SportsMatch columns: - column: League - column: Notes - column: IsPenalty - column: HomeScore - column: MatchDay - column: HomeTeam - column: AwayTeam - column: AwayScore - column: IsOvertime - column: Event The table should have the title "SportsMatchs" und the data must be loaded from the server with the following relative URL: "/ArenaService/sportsmatch/awayteam/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum