Backend
Backend Overview
Backend documentation index for API, architecture, operations, and standards.
Primary backend for the DARE platform. Handles AI/LLM services, real-time chat and workflow streaming via Socket.IO, file processing with RAG, and authentication.
Quick Links
- Getting Started — Set up and run the full platform locally
- Architecture Overview — System diagrams and component descriptions
- OpenAPI Schema — Raw API schema (requires running server)
- Swagger UI — Interactive API explorer when CDN assets are reachable
Contents
Architecture
- System Overview — Full platform architecture, component responsibilities, service layer patterns
- Socket.IO Events — Complete real-time event reference (
/chatand/workflownamespaces) - Data Flows — Chat, file upload, workflow execution, and auth flow diagrams
API Reference
- DARE Backend API — REST API (auto-generated via drf-spectacular)
Development
- Code Standards — Backend and frontend coding conventions
- Serialization Contract — camelCase/snake_case conversion rules
Deployment
- Infrastructure — Production server setup
- Procedures — Deployment steps
Related Repos
| Repo | Role |
|---|---|
| dare-frontend | React 18 / Redux frontend for DARE |
| socraticbooks-backend | Educational platform (proxies auth + AI to this backend) |
| socraticbooks-react | React 19 / Zustand frontend for SocraticBooks |