Skip to main content

Media service

Presigned uploads to R2, filter catalog, orphan reconciliation against feed, and music search, trending, and saved tracks across Apple Music, iTunes, Deezer, and Audius.

Bounded contextmedia
Listen port8085
PostgreSQL schemamedia
Sourcesplick-backend/services/media-service

Responsibilities​

  • Own its schema and Flyway migrations. Other services call HTTP or consume events. They do not join this schema.
  • Expose public routes only through Kong. Internal routes use the internal API key.
  • Publish integration facts through the transactional outbox when this service produces events. The outbox relay is the publisher.

Kong prefixes​

  • /api/v1/media including upload initiate and complete
  • /api/v1/music including search and trending

Public clients use http://localhost:8080/api in dev and https://api.splick.app/api in production. Kong strips the /api prefix before the upstream.

Pages in this section​