Skip to content

[Migration] Frontend integration#325

Merged
chelojimenez merged 2 commits intomigration-phase3-completefrom
migration-phase4-frontend-integration
Aug 4, 2025
Merged

[Migration] Frontend integration#325
chelojimenez merged 2 commits intomigration-phase3-completefrom
migration-phase4-frontend-integration

Conversation

@chelojimenez
Copy link
Contributor

@chelojimenez chelojimenez commented Aug 4, 2025

  1. React Components Migration: Copied all React components from
    Next.js src/ to Vite client/src/
    • Components, hooks, lib, stores, config, types directories
    • Main App.tsx component created from Next.js page structure
  2. Next.js Dependencies Removed:
    - Removed "use client" directives from all files
    - Replaced Next.js Image component with standard tags (e.g.,
    provider-logo.tsx:21-28)
    - Removed Next.js specific imports like next/link
  3. Package Dependencies: Updated client/package.json with all
    required frontend dependencies from the original Next.js project
    (React 19, UI libraries, state management)
  4. Vite Configuration:
    - Configured proxy in vite.config.ts:16-21 to route /api calls to
    Hono server (http://localhost:8001)
    - Set up build output to ../dist/client
  5. API Integration: The existing API calls already used correct paths
    (/api/mcp/*) that match the Hono server routes, so no endpoint
    changes were needed

@chelojimenez chelojimenez merged commit e017d6b into migration-phase3-complete Aug 4, 2025
chelojimenez added a commit that referenced this pull request Aug 4, 2025
- Phase 1: Hono server foundation (PR #320)
- Phase 2: Port all MCP endpoints from Next.js to Hono (PR #323)
- Phase 3: Chat streaming endpoint migration (PR #324)
- Phase 4: Frontend integration with Vite (PR #325)
- Phase 5: Static assets & production build (PR #326)
- Phase 6: NPX integration & final polish (PR #327)

Architecture: Single server (API + static), ready for NPX distribution
khandrew1 pushed a commit that referenced this pull request Nov 15, 2025
- Phase 1: Hono server foundation (PR #320)
- Phase 2: Port all MCP endpoints from Next.js to Hono (PR #323)
- Phase 3: Chat streaming endpoint migration (PR #324)
- Phase 4: Frontend integration with Vite (PR #325)
- Phase 5: Static assets & production build (PR #326)
- Phase 6: NPX integration & final polish (PR #327)

Architecture: Single server (API + static), ready for NPX distribution
matteo8p pushed a commit that referenced this pull request Dec 30, 2025
* Frontend integration

* fix imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant