Synaro docs
Services & APIs
Ports, databases, and representative API routes in the app.
| Service | Default port | Database |
|---|---|---|
| Next.js app | 3000 | PostgreSQL (synaro) — users, projects, invites, sessions |
| project-service | 3001 | PostgreSQL (synaro_project_service) |
| ai-orchestration-service | 3003 | PostgreSQL (synaro) — tasks |
| environment-service | 3002 (host 3004) | PostgreSQL (synaro_env) |
| execution-manager | 3004 | — |
| PostgreSQL (app) | 5433 | synaro |
| PostgreSQL (env) | 5434 | synaro_env |
App API routes (examples)
- /api/projects — list and create projects
- /api/projects/[projectId]/workspace-files — file tree
- /api/projects/[projectId]/workspace-selection — file/folder detail
- /api/projects/[projectId]/run — start app process
- /api/projects/[projectId]/ai-clarify — clarification questions
- /api/ai-tasks/[taskId] — poll AI task status
- /api/invites/[token] — accept project invite
- /api/auth/* — NextAuth handlers