deerflow2/backend
hetao 31bf49917c feat: add unified development environment with nginx proxy
Add a root-level Makefile to manage frontend, backend, and nginx services:
- `make check` validates required dependencies (Node.js 22+, pnpm, uv, nginx)
- `make install` installs all project dependencies
- `make dev` starts all services with unified port 2026
- `make stop` and `make clean` for cleanup

Update nginx configuration:
- Change port from 8000 to 2026
- Add frontend upstream and routing (port 3000)
- Add /api/langgraph/* routing with path rewriting to LangGraph server
- Keep other /api/* routes to Gateway API
- Route non-API requests to frontend

Update frontend configuration:
- Use relative URLs through nginx proxy by default
- Support environment variables for direct backend access
- Construct full URL for LangGraph SDK compatibility

Clean up backend Makefile by removing nginx and serve targets.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-22 12:00:46 +08:00
..
.vscode chore: specify project title 2026-01-14 09:57:52 +08:00
docs feat: integrate todo middleware 2026-01-20 22:38:04 +08:00
src feat: add SSE and HTTP transport support for MCP servers 2026-01-21 16:14:00 +08:00
tests feat: add AIO sandbox provider and auto title generation (#1) 2026-01-14 23:29:18 +08:00
.gitignore fix: stop tracking .claude/settings.local.json 2026-01-19 16:28:03 +08:00
.python-version chore: add Python and LangGraph stuff 2026-01-14 07:15:02 +08:00
AGENTS.md feat: add AIO sandbox provider and auto title generation (#1) 2026-01-14 23:29:18 +08:00
CLAUDE.md feat: add unified development environment with nginx proxy 2026-01-22 12:00:46 +08:00
Makefile feat: add unified development environment with nginx proxy 2026-01-22 12:00:46 +08:00
debug.py feat: add SSE and HTTP transport support for MCP servers 2026-01-21 16:14:00 +08:00
langgraph.json feat: support function factory (#4) 2026-01-15 22:05:54 +08:00
pyproject.toml feat: add MCP (Model Context Protocol) support 2026-01-19 18:58:13 +08:00
ruff.toml chore: use ruff to lint and auto-format 2026-01-14 09:08:20 +08:00
uv.lock feat: add MCP (Model Context Protocol) support 2026-01-19 18:58:13 +08:00