Skip to content

Implement base info aggregate endpoint #9

Description

@FriggemannMichael

Objective:
Implement GET /api/base-info/ for landing page statistics.

Acceptance criteria:

  • Endpoint is public unless project rules later require authentication.
  • Response includes review_count, average_rating, business_profile_count, and offer_count.
  • average_rating is rounded to one decimal place.
  • Empty data sets return stable numeric values instead of errors.

Frontend notes:
The frontend renders all keys automatically into base_info_* elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:setupProject setup, structure, and configurationenhancementNew feature or requestplanned-taskPlanned project implementation tasktddTest-driven development: write or define tests before implementation

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions