Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.55 KB

File metadata and controls

48 lines (34 loc) · 1.55 KB

Event Publishing

Status

Active.

Overview

Event publishing lets organizers create meetup records in the app and expose published events through the public community UI and read-only meetup API.

User Flows

  • Organizer creates or edits an event in the organizer console.
  • Organizer adds public-facing fields such as location, cover image, external RSVP link, and summary.
  • Organizer marks the event publishable.
  • Community members see the event on /events.
  • External sites can consume published events through /api/public/meetups*.

Key Files

File Purpose
src/views/admin/AdminEventsView.vue Organizer event list and creation flow
src/views/admin/AdminEventView.vue Event overview and checklist
src/views/EventsView.vue Public meetup listing
server/app.ts Event and public meetup API routes
lib/supabase/community-events.ts Supabase community-event repository
lib/supabase/media.ts Supabase Storage helpers for event media
supabase/migrations/20260615000000_community_events.sql Community events schema
docs/public-meetups-api.md Website integration contract

Configuration

Supabase community events are used when APP_DATA_SOURCE=supabase is set with Supabase credentials. JSON event data is the local/dev default.

Testing

pnpm typecheck
pnpm build
pnpm verify:public-api

Manual checks:

  • Create or edit an organizer event.
  • Confirm unpublished drafts do not appear in /events.
  • Confirm published events appear in /events and /api/public/meetups.