Monorepo for RotexAI core services and admin interface.
codebase/core/api: Go Admin API servicecodebase/core/orm: Go ORM models and migration runnercodebase/interface/admin: Admin web interface (TanStack + Vite)docs: Product, API, and schema documentationdocker: Container-related assets
- Go (for
core/apiandcore/orm) - PostgreSQL
- Node.js and pnpm or bun (for
interface/admin) - Docker Engine + Docker Compose (for containerized stack)
cp docker/.env.example docker/.env
docker compose -f docker/docker-compose.yml --env-file docker/.env up --build -dStop stack:
docker compose -f docker/docker-compose.yml --env-file docker/.env downServices:
- Admin UI:
http://localhost:3000 - Admin API:
http://localhost:8080 - LLMHub:
http://localhost:8003 - Postgres:
localhost:5432 - Qdrant HTTP:
localhost:6333 - Qdrant gRPC:
localhost:6334
cd codebase/core/orm
export ROTEXAI_ORM_DSN='postgres://user:pass@localhost:5432/rotexai?sslmode=disable'
go run ./cmd/orm-migratecd codebase/core/api
export ADMIN_API_DB_DSN='postgres://user:pass@localhost:5432/rotexai?sslmode=disable'
go run ./cmd/adminapiRequired request headers:
Rotexai-User-RolesRotexai-User-IdRotexai-Tenant-Id(for tenant-scope operations)
cd codebase/interface/admin
pnpm install
pnpm devAlternative with bun:
bun install
bun run dev- API contract:
codebase/core/api/openapi/admin.yaml - API guide:
docs/api/admin.md - Database schema:
docs/database/schema.md - Feature docs:
docs/features/* - Interface notes:
docs/interface/admin.md
This project is licensed under the terms in LICENSE.