Skip to content

Merge code-graph and code-graph-backend into a unified structure following QueryWeaver model #521

@gkorland

Description

@gkorland

Merge code-graph and code-graph-backend into code-graph

Objective

Merge the repositories code-graph and code-graph-backend into code-graph, restructuring to follow the architecture and layout similar to QueryWeaver.

Requirements

  • Integrate the Python backend from code-graph-backend into code-graph.
  • Use React for the frontend, based on the existing code-graph frontend.
  • Structure the project such that the backend is purely Python-based (no Node.js backend, no Next.js backend), to minimize extra hops between frontend and backend.
  • Reference: follow the architectural patterns seen in QueryWeaver.
  • Update documentation to reflect merged structure, installation instructions, and development guidelines.

Steps

  1. Copy/move code-graph-backend sources into an appropriate backend folder in code-graph (suggested: backend/).
  2. Refactor the build/deployment scripts in code-graph to support both React frontend and Python backend.
  3. Verify routing between frontend and backend (ensure React app communicates directly with Python backend).
  4. Remove redundant Node.js/Next.js backend code from the project (if present).
  5. Update README and docs with new structure, usage, and development workflows.
  6. Test the merged project thoroughly.

Acceptance Criteria

  • Single repository (code-graph) with a clear frontend (React) and backend (Python) structure
  • Documentation updated
  • No extra Node.js backend layer
  • All previous functionality from both projects preserved

References:

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions