HereCRM Backend is a FastAPI service that provides the core logic, LLM processing, and third-party integrations for the HereCRM ecosystem.
- AI-Powered Extraction: Parsing natural language from WhatsApp/SMS via GPT-4o.
- Pipeline Logic: Automatic progression of customer stages based on job activity.
- Integrations: Twilio, Stripe, QuickBooks, Google Calendar, and Geoapify.
- Multi-Tenancy: Tenant-isolated data for various businesses.
- Framework: FastAPI (Python 3.12+)
- ORM: SQLAlchemy with
aiosqlite - Migrations: Alembic
- Testing:
pytestandschemathesis
-
Install dependencies:
uv sync
-
Configure environment: Create a
.envfile from the.env.example. Key secrets include:OPENROUTER_API_KEYWHATSAPP_APP_SECRETDATABASE_URL
-
Database Setup:
alembic upgrade head
-
Run Server:
fastapi dev src/main.py
pytestInternal Project - All Rights Reserved.