How herman-junior/project-in-d0020e works
This is a three-tier Flask application for importing sensor/weather CSVs and audio recordings, relating them by time, then querying, exporting, deleting, or restoring data. The main workflow runs from browser uploads through Flask routes and parsing/audio services into MySQL; filtered results and audio-to-environment correlations return through the same backend to the browser. The README documents the broader product capabilities. Some route and service bodies were sampled only partially, so edges are limited to shown calls, indexed references, or documented architecture.
Main entry points: routes.py HTTP routes · db.py Database access · services.py Audio processing · scripts Browser interactions
Components 13
Browser interface
- Web browser
- Page templates
Backend/templates - Browser interactions
Backend/static/scripts
Flask application
- Flask entry point
Backend/app.py - HTTP routes
Backend/routes.py - Configuration
Backend/config.py
Data processing
- CSV ingestion
Backend/data_loader.py - Audio processing
Backend/services.py - Timestamp and audio utilities
Backend/utils.py
Persistence
- Database access
Backend/db.py - MySQL database
Database/Database.sql - Audio file storage
Backend/audio_files
Other components
- User
Connections 16
- User → Web browser: uses
README.md - Web browser → Page templates: views pages
README.md - Web browser → Browser interactions: runs interactions
README.md - Browser interactions → HTTP routes: requests data
Backend/static/scripts/query.js - Flask entry point → HTTP routes: registers handlers
Backend/app.py - HTTP routes → CSV ingestion: imports CSV handler
Backend/routes.py - HTTP routes → Audio processing: calls data services
Backend/routes.py - HTTP routes → Database access: imports database actions
Backend/routes.py - CSV ingestion → Database access: inserts rows
Backend/data_loader.py - Audio processing → Database access: queries and inserts
Backend/services.py - Audio processing → Timestamp and audio utilities: formats metadata
Backend/services.py - Database access → Configuration: uses DB settings
Backend/db.py - Database access → MySQL database: reads and writes
README.md - Audio processing → Audio file storage: stores recordings
Backend/services.py - Configuration → Audio file storage: sets storage directory
Backend/config.py - HTTP routes → Web browser: returns results