Synaplan
开源 AI 软件平台,面向企业:自托管 AI 代理,符合 GDPR 的聊天机器人小部件,RAG 知识库,WhatsApp 与 Outlook AI,MCP,多模型路由。支持 Docker、Kubernetes 或在 Germ 托管。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
HR salary tool for ~10,000 employees (Incubyte take-home).
All make targets are in the root Makefile. Run them from the repo root (make help lists everything).
Production matches docs/IMPLEMENTATION_PLAN.md §3a: Railway (API + Postgres) and Vercel (React UI). Pushes to the connected Git branch redeploy each service.
Vercel build env: VITE_API_URL=https://testtask-incubyte-production.up.railway.app (no trailing slash; the app calls /api/...).查看完整 README ↗HR salary tool for ~10,000 employees (Incubyte take-home).
| Doc | Purpose |
|---|---|
| docs/REQUIREMENTS.md | Scope and success criteria |
| docs/ARTIFACTS.md | Design decisions and AI usage log |
| docs/IMPLEMENTATION_PLAN.md | Phases and stack |
All make targets are in the root Makefile. Run them from the repo root (make help lists everything).
Production matches docs/IMPLEMENTATION_PLAN.md §3a: Railway (API + Postgres) and Vercel (React UI). Pushes to the connected Git branch redeploy each service.
| Link | |
|---|---|
| Deployed app (frontend) | https://test-task-incubyte.vercel.app/ |
| Deployed API (backend apis) | https://testtask-incubyte-production.up.railway.app/docs |
| Layer | Platform | URL |
|---|---|---|
| Frontend (UI) | Vercel | test-task-incubyte.vercel.app |
| Backend (API) | Railway | testtask-incubyte-production.up.railway.app |
| Database | Railway Postgres | Private; API uses referenced DATABASE_URL |
| Endpoint | URL |
|---|---|
| Health | GET /api/health |
| OpenAPI / Swagger | /docs |
Vercel build env: VITE_API_URL=https://testtask-incubyte-production.up.railway.app (no trailing slash; the app calls /api/...).
Railway API env: DATABASE_URL (reference Postgres), CORS_ORIGINS must include https://test-task-incubyte.vercel.app (and localhost origins if you still test locally).
On first deploy with an empty database, the API auto-seeds 10,000 employees (AUTO_SEED_ON_STARTUP=true). Migrations run on container start (backend/scripts/railway-start.sh).
Data model
System architecture (local Docker and production)
Requires Docker and Compose.
cp .env.example .env
make up
| Service | URL |
|---|---|
| UI | http://localhost:5173 |
| API docs | http://127.0.0.1:8000/docs |
Stop: Ctrl+C, then make down (add docker compose down -v to reset DB).
If the UI shows missing @mui/* imports after pulling new frontend deps, recreate the frontend service (docker compose up -d --build --force-recreate frontend) or remove the frontend_node_modules volume once.
Compose variables live in .env (see .env.example).
One-time setup:
cd backend && python3 -m venv .venv && .venv/bin/pip install -e ".[dev]"
cd ../frontend && npm install
cp frontend/.env.example frontend/.env # VITE_API_URL
make env # creates backend/.env
Postgres on localhost:5432 (e.g. make db-up, wait until healthy), then:
make migrate
make run # API :8000 — separate terminal: make ui for :5173
make seed # optional if DB empty; API also auto-seeds on startup
make test
Makefile all make targets (repo root only)
docker-compose.yml db + API + UI
backend/ FastAPI, Alembic, pytest
frontend/ React, Vite
docs/