Home

giogio / openez-graph

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

feat: add web dashboard API server to CLI with serve --web command

4 months ago

c398e63
Authored
asta-nguyen6/25/2026, 4:42:22 PM
- Bump CLI version to 0.2.0
- Add hono and @hono/node-server dependencies to CLI
- Add @openez-graph/web workspace dependency to CLI
- Add --web flag to serve command to start API server (default port 17881)
- Add --port option to configure API server port
- Extract createWebServer() from web app for reuse in CLI
- Add web-server.ts bridge module with auto-start disabled for CLI bundling
- Split web app server into index.ts (factory)

Parent75708c1

9 files changed
  • apps/cli/package.json+5−2
  • apps/cli/src/cli.ts+17−2
  • apps/cli/src/web-server.ts+4−0
  • apps/cli/tsup.config.ts+1−0
  • apps/web/package.json+3−1
  • apps/web/src/server/index.ts+4−3
  • apps/web/src/server/sqlite.ts+5−1
  • apps/web/src/server/start.ts+9−0
  • tsconfig.base.json+3
−1