No description
Find a file
2025-11-12 15:55:59 -06:00
backend initial commit 2025-11-12 15:55:59 -06:00
frontend initial commit 2025-11-12 15:55:59 -06:00
.gitignore initial commit 2025-11-12 15:55:59 -06:00
CLAUDE.md initial commit 2025-11-12 15:55:59 -06:00
email_analysis.py initial commit 2025-11-12 15:55:59 -06:00
README.md initial commit 2025-11-12 15:55:59 -06:00
run.sh initial commit 2025-11-12 15:55:59 -06:00
test_user_mapping.js initial commit 2025-11-12 15:55:59 -06:00
USER_FILTERING_NOTES.md initial commit 2025-11-12 15:55:59 -06:00

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

  1. Navigate to the backend directory:

    cd backend
    
  2. Activate the virtual environment:

    source venv/bin/activate
    
  3. Install dependencies:

    pip install -r requirements.txt
    
  4. Start the development server:

    python app.py
    

The API will be available at http://localhost:5001.

Frontend

  1. Navigate to the frontend directory:

    cd frontend
    
  2. Install dependencies:

    npm install
    
  3. 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