FastAPI backend for TurfVoice auth, bookings, pricing, availability.
51
FastAPI backend for TurfVoice, a sports and turf facility booking platform. Provides authentication, resource/availability management, pricing, booking lifecycle (create, cancel, reschedule), membership, and an AI booking assistant built with CrewAI.
/auth/signup, /auth/login, /auth/me)/assistant/chat) using CrewAI + Groq, with tool-calling for real booking data — never invents availability or prices/voice/token) for the companion turf-worker voice agentdocker run -p 8000:8000 \
-e MONGODB_URI=mongodb+srv://... \
-e JWT_SECRET_KEY=your-secret \
-e GROQ_API_KEY=your-groq-key \
-e LIVEKIT_URL=wss://your-project.livekit.cloud \
-e LIVEKIT_API_KEY=your-livekit-key \
-e LIVEKIT_API_SECRET=your-livekit-secret \
roboflowhnstesting01/turf-backend:latest
| Variable | Description |
|---|---|
MONGODB_URI | MongoDB Atlas connection string |
JWT_SECRET_KEY | Secret used to sign auth JWTs |
GROQ_API_KEY | Groq API key for the LLM assistant |
LIVEKIT_URL | LiveKit project URL |
LIVEKIT_API_KEY / LIVEKIT_API_SECRET | LiveKit credentials for minting voice tokens |
OPENAI_API_KEY | Optional — fallback TTS provider for the voice worker |
Interactive OpenAPI docs are available at /docs once the container is running.
roboflowhnstesting01/turf-frontend — Next.js frontendroboflowhnstesting01/turf-worker — LiveKit voice agent worker (shares this backend's auth and assistant logic)Content type
Image
Digest
sha256:222958bc2…
Size
3.4 GB
Last updated
about 1 month ago
docker pull roboflowhnstesting01/turf-backend