{"id":29733866,"url":"https://github.com/rootly-ai-labs/rootly-burnout-detector-web","last_synced_at":"2025-07-25T10:38:13.980Z","repository":{"id":306105340,"uuid":"1012712469","full_name":"Rootly-AI-Labs/rootly-burnout-detector-web","owner":"Rootly-AI-Labs","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-23T17:37:52.000Z","size":1179,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-23T18:19:08.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rootly-burnout-detector-web.vercel.app","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rootly-AI-Labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-02T19:00:41.000Z","updated_at":"2025-07-23T17:37:56.000Z","dependencies_parsed_at":"2025-07-23T18:19:44.023Z","dependency_job_id":"3577df03-3af9-4ef7-ac5f-bf196fac8171","html_url":"https://github.com/Rootly-AI-Labs/rootly-burnout-detector-web","commit_stats":null,"previous_names":["rootly-ai-labs/rootly-burnout-detector-web"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Rootly-AI-Labs/rootly-burnout-detector-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rootly-AI-Labs%2Frootly-burnout-detector-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rootly-AI-Labs%2Frootly-burnout-detector-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rootly-AI-Labs%2Frootly-burnout-detector-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rootly-AI-Labs%2Frootly-burnout-detector-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rootly-AI-Labs","download_url":"https://codeload.github.com/Rootly-AI-Labs/rootly-burnout-detector-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rootly-AI-Labs%2Frootly-burnout-detector-web/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266991273,"owners_count":24017740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-25T10:38:10.108Z","updated_at":"2025-07-25T10:38:13.892Z","avatar_url":"https://github.com/Rootly-AI-Labs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rootly Burnout Detector - Web Application\n\nA modern web application for detecting burnout risk in engineering teams using Rootly incident data, GitHub activity, and Slack communication patterns.\n\n## 🎯 Overview\n\nThis web application provides an intuitive interface for analyzing team burnout risk using scientific methods based on the Maslach Burnout Inventory. It integrates with Rootly's incident management platform to provide actionable insights for engineering managers.\n\n## ✨ Features\n\n- **🔐 Social Authentication**: Login with Google or GitHub\n- **📊 Interactive Dashboard**: Visual burnout risk analysis\n- **👥 Team Management**: Individual and team-level insights\n- **📈 Real-time Analysis**: Progress tracking during data processing\n- **🔄 Analysis History**: Access previous assessments\n- **📱 Responsive Design**: Works on desktop and mobile\n\n## 🏗️ Architecture\n\n### Tech Stack\n- **Frontend**: React.js + TypeScript (Vercel)\n- **Backend**: FastAPI + Python (Railway)\n- **Database**: PostgreSQL (Railway)\n- **Authentication**: OAuth (Google/GitHub) + JWT\n\n### Project Structure\n```\nrootly-burnout-detector-web/\n├── backend/                 # FastAPI application\n│   ├── app/\n│   │   ├── main.py         # FastAPI entry point\n│   │   ├── core/           # Business logic \u0026 config\n│   │   ├── models/         # Database models\n│   │   ├── auth/           # Authentication\n│   │   └── api/            # API endpoints\n│   └── requirements.txt\n├── frontend/               # React application (coming soon)\n├── docs/                   # Documentation\n└── README.md\n```\n\n## 🚀 Quick Start\n\n### Prerequisites\n- Python 3.11+\n- Node.js 18+ (for frontend)\n- Rootly API token\n\n### Backend Setup\n```bash\ncd backend\npython -m venv venv\nsource venv/bin/activate  # or `venv\\Scripts\\activate` on Windows\npip install -r requirements.txt\n\n# Copy and configure environment\ncp .env.example .env\n# Edit .env with your configuration\n\n# Run the server\npython -m app.main\n```\n\nThe API will be available at `http://localhost:8000`\n\n### Frontend Setup (Coming Soon)\n```bash\ncd frontend\nnpm install\nnpm start\n```\n\n## 🔧 Configuration\n\n### Environment Variables\n```bash\n# Required\nDEBUG=True\nSECRET_KEY=your-secret-key\nDATABASE_URL=sqlite:///./test.db\n\n# OAuth (optional for development)\nGOOGLE_CLIENT_ID=your-google-client-id\nGOOGLE_CLIENT_SECRET=your-google-client-secret\nGITHUB_CLIENT_ID=your-github-client-id\nGITHUB_CLIENT_SECRET=your-github-client-secret\n\n# Rootly Integration\nROOTLY_API_BASE_URL=https://api.rootly.com\nFRONTEND_URL=http://localhost:3000\n```\n\n## 🧪 Testing\n\n```bash\ncd backend\npython test_api.py\n```\n\n## 📊 Burnout Analysis\n\nThe application uses the **Maslach Burnout Inventory** methodology with three dimensions:\n\n1. **Emotional Exhaustion** (40% weight)\n   - Incident frequency and clustering\n   - After-hours work patterns\n   - Resolution time pressure\n\n2. **Depersonalization** (30% weight)\n   - Escalation patterns\n   - Team collaboration metrics\n   - Communication quality\n\n3. **Personal Accomplishment** (30% weight, inverted)\n   - Resolution success rates\n   - Knowledge sharing\n   - Improvement trends\n\n### Enhanced Analysis (Optional)\n- **GitHub Integration**: Coding stress patterns\n- **Slack Integration**: Communication sentiment analysis\n\n## 🚢 Deployment\n\n### Railway (Backend)\n1. Connect GitHub repository\n2. Set environment variables\n3. Deploy automatically\n\n### Vercel (Frontend)\n1. Connect GitHub repository\n2. Configure build settings\n3. Deploy automatically\n\n## 🔐 Security\n\n- OAuth with Google/GitHub (no password storage)\n- JWT tokens for session management\n- Encrypted API token storage\n- HTTPS enforcement\n- Input validation and sanitization\n\n## 📝 API Documentation\n\nOnce running, visit `http://localhost:8000/docs` for interactive API documentation.\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Add tests\n5. Submit a pull request\n\n## 📄 License\n\nThis project is licensed under the MIT License.\n\n## 🔗 Related Projects\n\n- [Rootly CLI Burnout Detector](https://github.com/your-org/rootly-burnout-detector) - Command-line version\n- [Rootly MCP Server](https://github.com/Rootly-AI-Labs/Rootly-MCP-server) - Model Context Protocol integration\n\n---\n\nBuilt with ❤️ for engineering teams everywhere.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootly-ai-labs%2Frootly-burnout-detector-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootly-ai-labs%2Frootly-burnout-detector-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootly-ai-labs%2Frootly-burnout-detector-web/lists"}