Skip to content

[infra] Consolidate web API deployment and routing architecture #7

Description

@Dipraise1

Problem

The repo contains Next API routes, a FastAPI backend under engram-web/api, Next rewrites to NEXT_PUBLIC_API_URL, and Vercel experimental services. These paths overlap and can point at different backends/default miner URLs.

Impact

Production behavior is hard to reason about and easy to misconfigure.

References

  • engram-web/next.config.js
  • vercel.json
  • engram-web/api/main.py
  • engram-web/app/api/**

Acceptance criteria

  • Pick one production API path for subnet/web operations.
  • Remove or clearly mark deprecated backend paths.
  • Align default URLs/env vars.
  • Update deployment docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation improvementsprotocolCore protocol, CID, synapse, proof

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions