A demo project written in Rust that uses a controlled agentic LLM loop to search and rank talents from a PostgreSQL database.
Demo: https://talents-iqgi7ee7uq-ey.a.run.app/
- Rust for backend
- podman or Docker with Compose
- sqlx-cli:
cargo install sqlx-cli --no-default-features --features postgres - Node.js and pnpm for frontend
1. Start services
podman compose up -dThis starts PostgreSQL on port 5432.
2. Configure environment
cp .env.example .env3. Run migrations
cd src/db
cargo sqlx migrate run --database-url "postgres://user:password@localhost:5432/talents"
cd ../..4. Start the server
cargo runServer listens on http://127.0.0.1:3000.
5. Start the frontend (optional)
cd frontend
pnpm install
pnpm devFrontend at http://localhost:5173. Proxies /api → http://localhost:3000.
GET /health
curl http://localhost:3000/health
# {"status":"ok"}cargo test -- --test-threads=1Requires DATABASE_URL to point to a running Postgres instance.
GitHub Actions runs on every push and PR. See .github/workflows/ci.yml.
