AI-powered content generation platform with analytics, experiments, automation workflows, and a modern React + FastAPI stack.
- Frontend: React, Vite, Tailwind CSS, Recharts
- Backend: FastAPI, SQLAlchemy, JWT auth
- Database: SQLite (local), PostgreSQL (production)
frontend/React appbackend/FastAPI APIai_engine/generation + prompt/classification utilitiesanalytics/analytics utilities and SQL helpersdatabase/models and seed scriptsdocs/architecture and API docs
cd backend
python -m venv venv
.\venv\bin\activate
pip install -r requirements.txt
uvicorn app.main:app --reloadBackend runs on http://localhost:8000
cd frontend
npm install
npm run devFrontend runs on http://localhost:5173
DATABASE_URL=sqlite:///./content.db
SECRET_KEY=change-this-in-production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
OPENAI_API_KEY=
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
ENVIRONMENT=developmentVITE_API_URL=http://localhost:8000POST /auth/loginPOST /auth/tokenGET /auth/verifyPOST /generate-contentGET /content-libraryGET /analyticsGET /health
- Quick path:
QUICK_DEPLOY.md - Full guide:
DEPLOYMENT.md - Supported targets: Render/Railway/Fly.io (backend), Vercel (frontend), Supabase/Neon (database)
scripts/deploy.ps1(Windows)scripts/deploy.sh(Linux/macOS)
- Authentication uses JWT.
- Password hashing is configured via passlib.
- CORS and other runtime settings are centralized in
backend/app/core/config.py.