How fufckddl/2025_ai_hackathon_be works
ROUTY is a Flutter routine-management app backed by a Flask API and MySQL, intended to support children with ADHD and their parents. The user-facing workflow covers account access, routine management and completion, and parent-facing coaching; the README also describes a child-oriented chatbot and reward motivation. The web build is present, but its Dart source is not in this tree. Backend feature boundaries are inferred from documented capabilities and sampled app.py excerpts; unsampled endpoint wiring is not detailed here.
Main entry points: main.dart.js Flutter web app · init.sql MySQL database · app.py Coaching reports
Components 11
Flutter client
- Flutter web app
static/main.dart.js
Flask services
- Account access
app.py - Routine management
app.py - Routine progress
app.py - Character selection
app.py - Child chatbot
app.py - Coaching reports
app.py - Profile settings
app.py
Persistent data
- MySQL database
DB/init.sql
AI integration
- OpenAI API
Other components
- Child or parent
Connections 15
- Child or parent → Flutter web app: uses
README.md - Flutter web app → Account access: API requests
README.md - Flutter web app → Routine management: API requests
README.md - Flutter web app → Routine progress: API requests
- Flutter web app → Character selection: API requests
- Flutter web app → Child chatbot: API requests
- Flutter web app → Coaching reports: API requests
- Flutter web app → Profile settings: API requests
- Account access → MySQL database: reads and writes
app.py - Routine management → MySQL database: reads and writes
app.py - Routine progress → MySQL database: queries
app.py - Character selection → MySQL database: updates
app.py - Coaching reports → MySQL database: stores reports
app.py - Child chatbot → MySQL database: stores dialogue
app.py - Coaching reports → OpenAI API: generates report
app.py