BloxServer API (FastAPI + SQLAlchemy async): - Database models: users, flows, triggers, executions, usage tracking - Clerk JWT auth with dev mode bypass for local testing - SQLite support for local dev, PostgreSQL for production - CRUD routes for flows, triggers, executions - Public webhook endpoint with token auth - Health/readiness endpoints - Pydantic schemas with camelCase aliases for frontend - Docker + docker-compose setup Architecture documentation: - Librarian architecture with RLM-powered query engine - Stripe billing integration (usage-based, trials, webhooks) - LLM abstraction layer (rate limiting, semantic cache, failover) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
499 B
Text
31 lines
499 B
Text
# BloxServer API Dependencies
|
|
|
|
# Web framework
|
|
fastapi>=0.109.0
|
|
uvicorn[standard]>=0.27.0
|
|
|
|
# Database
|
|
sqlalchemy[asyncio]>=2.0.0
|
|
asyncpg>=0.29.0
|
|
alembic>=1.13.0
|
|
|
|
# Authentication (Clerk JWT validation)
|
|
pyjwt[crypto]>=2.8.0
|
|
httpx>=0.27.0
|
|
|
|
# Validation & serialization
|
|
pydantic>=2.5.0
|
|
pydantic-settings>=2.1.0
|
|
|
|
# Utilities
|
|
python-dotenv>=1.0.0
|
|
humps>=0.2.2
|
|
|
|
# Stripe billing
|
|
stripe>=8.0.0
|
|
|
|
# Redis (for caching/rate limiting)
|
|
redis>=5.0.0
|
|
|
|
# Cryptography (for API key encryption)
|
|
cryptography>=42.0.0
|