Skip to content

Feature: Promotions for Events and Restauratns

Matej Vavrek requested to merge promotions into Milestone-3

Added functionality for Promotions for Events and Restaurants, this includes:

  • Admin MVC Endpoints for Event and Restaurant Promotion (both general and specific restaurant-registered data referred to as "Promotion Groups")
  • User MVC Endpoints for Event and Restaurant Promotions, where Maintainers and Event Owners can choose and register promotions, then "pay" for them (no payment system is actually implemented).
  • Backend functionality for the promotions. New database tables (RestaurantPromotion, EventPromotion, RestaurantPromotionGroup, EventPromotionGroup, Pricing), services and facade.
  • Support for uploading and loading banner images, as well as a simple mockup for serving banner images based on a promotion group's chance to be served -> the frontend of this needs to be solved better.
  • Homepage including promotions for Restaurants and Events (Events are not fully implemented yet as I need the other MVCs to do so)

ToDo:

  • Enum and Filter variants for BL, MVC, API -> I will likely do this later, not in this Merge Request.
Edited by Matej Vavrek

Merge request reports

Loading