Skip to content

GET /stewardEvent: List steward-published events #3

Description

@saumyapalk23

Motivation

Stewards publish informational events (e.g. recurring workdays) directly in the app with no RSVP tracking (they don't have Luma access). These must appear on the site page, map popup, and events page alongside staff events, marked as steward-run. Since each site has 1 steward, a dashbaord should show only the events they have published for their respective site.

Acceptance Criteria:

  • GET /stewardEvent returns only steward-published events for each respective site
  • Each event includes the following:
    • Event name
    • Date/time
    • Description
    • Meeting/location info
    • Event type
  • Endpoint returns empty if steward has no published events
  • Results are sorted chronologically

Tasks:

  • Implement route handler for GET /stewardEvent
  • Add chronological sorting
  • Write tests: steward w/ events, steward w/o events, etc. and add documentation

Story points: 3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions