deerflow2/frontend
hetao 2fac72601e 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 name 2026-01-14 09:58:53 +08:00
public feat: bring back the deer 2026-01-21 10:31:54 +08:00
src feat: add unified development environment with nginx proxy 2026-01-22 12:00:46 +08:00
.env.example feat: add unified development environment with nginx proxy 2026-01-22 12:00:46 +08:00
.gitignore chore: create frontend project from boilerplate 2026-01-14 09:50:26 +08:00
Makefile chore: create frontend project from boilerplate 2026-01-14 09:50:26 +08:00
TODO.md feat: update skill settings 2026-01-22 00:38:20 +08:00
components.json feat: bring back the deer 2026-01-21 10:31:54 +08:00
eslint.config.js feat: ignore components from 3rd parties 2026-01-17 00:12:57 +08:00
next.config.js chore: create frontend project from boilerplate 2026-01-14 09:50:26 +08:00
package.json feat: add code editor 2026-01-21 09:33:33 +08:00
pnpm-lock.yaml feat: add code editor 2026-01-21 09:33:33 +08:00
pnpm-workspace.yaml chore: create frontend project from boilerplate 2026-01-14 09:50:26 +08:00
postcss.config.js chore: create frontend project from boilerplate 2026-01-14 09:50:26 +08:00
prettier.config.js chore: create frontend project from boilerplate 2026-01-14 09:50:26 +08:00
tsconfig.json feat: support settings 2026-01-20 23:43:21 +08:00