LLM-assisted workload, scheduling, and goal management. This repo contains:
- Server — Hono + Effect API with Prisma/Postgres
- Client — React Router v7 SPA
- Database — PostgreSQL (Atlas migrations + Prisma schema)
- DevOps — Dockerfiles for server/client and a compose stack
Requirements: Node >=20.19.5, npm, Docker (optional), Postgres.
git clone <repo>
cd goalFlow-agent
npm install --prefix Server
npm install --prefix Clientcd Server
npm run prisma:generate
npm run dev # http://localhost:3000cd Client
npm run dev # http://localhost:5173cd Server && npm test # API/unit
cd Client && npm test # RTL/unitBuild and run the full stack (Postgres + API + Web):
docker compose up --build
# API: http://localhost:3000, Web: http://localhost:4173Server/ # Hono + Effect API, Prisma schema
Client/ # React Router SPA
docker-compose.yml
GET /api/health— health checkPOST /api/match— match candidates to a taskPOST /api/schedule/propose— propose time slotsPOST /api/goals/POST /api/goals/:id/plan— goal planningPOST /api/approvals/PATCH /api/approvals/:id— approvalsPOST /api/llm/justify— LLM justification (guardrailed stub)POST /api/connectors/...— calendar/messaging/project stubs
DATABASE_URL=postgres://user:pass@host:5432/app?schema=public
PORT=3000
GitHub Actions run lint/typecheck/test/build for Server & Client, plus security audit and CodeQL. Compose/db is used for server tests with migrations via Atlas.
See LICENSE (if present) or contact maintainers.