Skip to content

Fix vercel dev local orchestration and API routing #9

Description

@MD2SA

The Problem

pnpm dev (concurrent backend/frontend) works but lacks production parity. vercel dev currently fails to emulate the Vercel environment correctly, causing a gap between local development and production.

Specific Issues

  • Routing: /api/* requests are not being proxied to the /api directory serverless functions.
  • Initialization: Python functions fail to boot within the Vercel local emulator.
  • Proxy Conflict: Collision between Vite’s dev server port and Vercel’s proxy port.
  • Env Injection: Environment variables from .env are not consistently passed to the Python runtime under vercel dev.

Goal

Achieve 1:1 parity between local development and production deployment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions