No description
| backend | ||
| frontend | ||
| .gitignore | ||
| CLAUDE.md | ||
| email_analysis.py | ||
| README.md | ||
| run.sh | ||
| test_user_mapping.js | ||
| USER_FILTERING_NOTES.md | ||
Oliver Agency Reporting Module
A web-based reporting module to display usage analytics for conversations and messages with various filtering options and CSV export functionality.
Project Structure
/backend: Python Flask backend API/frontend: React + Vite frontend application
Getting Started
Backend
-
Navigate to the backend directory:
cd backend -
Activate the virtual environment:
source venv/bin/activate -
Install dependencies:
pip install -r requirements.txt -
Start the development server:
python app.py
The API will be available at http://localhost:5001.
Frontend
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install -
Start the development server:
npm run dev
The application will be available at http://localhost:5173.
Features
- Dashboard displaying conversation and message volume over time
- Filter data by user, assistant, brand/TOV, and date range
- Export filtered data to CSV
- Interactive graph with assistant-specific coloring
API Endpoints
GET /api/data: Returns all conversations and messages data