Org-FoodService / FoodServiceAPI

FoodService is a .NET 8.0-based service, optimizing snack bar operations through menu management, inventory tracking, and potential delivery integration. With Docker and SQLServer dependencies, it streamlines processes for snack bar owners, enhancing efficiency and customer experience.
https://foodservice-api.azurewebsites.net/swagger
3 stars 1 forks source link

[API] Develop a Customization Page for Admin to Personalize Site Settings #16

Closed NicolasBuscarini closed 4 months ago

NicolasBuscarini commented 4 months ago

Business and Technical Story

Description: As an administrator of the FoodService application, I want to access a customization page where I can personalize the primary color, secondary color, icon, and service name of the site, so that the site reflects the brand identity of the restaurant.

Acceptance Criteria:

  1. The customization page should be accessible only to users with administrative privileges.
  2. The page should allow the admin to:
    • Select and change the primary color of the site.
    • Select and change the secondary color of the site.
    • Upload and change the site icon.
    • Update the service name displayed on the site.
  3. Changes made by the admin should be reflected immediately across the site.
  4. The customization options should include a preview feature so the admin can see changes before applying them.
  5. The customization settings should be saved and persist across sessions.
  6. The interface should be user-friendly and intuitive for non-technical users.

Tasks:

  1. Backend Development:
    • [x] Create or update API endpoints to save and retrieve customization settings.
    • [x] Ensure that customization settings are stored in a database and persist across sessions.
    • [x] Implement authentication checks to ensure only administrators can access and modify the customization settings.

Business Value:

The customization page will empower administrators to tailor the appearance of the FoodService application to match the brand identity of their restaurant, enhancing the overall aesthetic and professional appeal of the site. This flexibility will allow restaurants to create a unique and cohesive online presence, which can lead to increased customer trust and engagement. By providing an easy-to-use interface for customization, FoodService can attract a broader range of users, including those who may not have technical expertise but still require a personalized touch to their online services.