Skip to content

feat: expose index and chat over FastAPI (Phase 1 Step 5) #30

Description

@vineethwilson15

Goal

Create api/ with FastAPI routes mirroring the CLI.

Acceptance Criteria

  • POST /index -- runs RepoIndexer, returns stats
  • POST /chat -- returns { answer: str }
  • GET /health
  • No business logic in route handlers -- delegates to core/
  • OpenAPI docs at /docs
  • Unit tests with mocked core clients

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiapi/ moduleenhancementNew feature or requestphase-1Phase 1: Core indexer + CLI

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions