Skip to content

Create Apollo GraphQL API package #39

Description

@pragmaticAweds

Repository

This issue belongs in Fundable-Protocol/Backend under indexer/.

Migrated from Fundable-Protocol/stellar_indexer#20.

Context

The API should be separated from ingestion and expose indexed stream/distribution data through Apollo Server.

Scope

  • Add api workspace package
  • Add Apollo Server setup
  • Compose schemas from domain packages
  • Add resolvers backed by PostgreSQL
  • Support basic filters, pagination, and sorting
  • Add API tests for basic queries

Out of Scope

  • Unrelated package work
  • Docker, CI, or deployment work unless named in scope
  • Broad refactors outside the touched package

Acceptance Criteria

  • Scope items are complete
  • Relevant tests are added or updated
  • Documentation is updated when needed
  • bun run type-check passes
  • bun run test passes
  • bun run lint passes
  • bun run indexer:type-check passes
  • bun run indexer:test passes
  • bun run indexer:lint passes

Dependencies

Suggested Files or Packages

  • indexer/api/
  • indexer/streams/schema.graphql
  • indexer/distributions/schema.graphql
  • indexer/common/src/db/

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions