How shrimant028/studyhub works
StudyHub is a student study-management web app. Students register or sign in, then use the dashboard to track notes, schedules, and group memberships; they can upload and search notes, manage schedules, and join subject groups. The frontend calls Flask endpoints, which use SQLAlchemy models and local file storage. The backend routes and data operations are all implemented in one file. The HTML pages are listed in the tree but were not excerpted, so their internal wiring is not inferred.
Main entry points: script.js Browser client · app.py Study records · index.html Sign-in page
Components 13
Student interface
- Sign-in page
frontend/index.html - Dashboard page
frontend/dashboard.html - Browser client
frontend/script.js
Study workflows
- Account access
backend/app.py - Dashboard stats
backend/app.py - Notes upload
backend/app.py - Notes search
backend/app.py - Note download
backend/app.py - Schedule management
backend/app.py - Study groups
backend/app.py
Persistence
- Study records
backend/app.py - Uploaded files
backend/app.py
Other components
- Student
Connections 16
- Student → Sign-in page: opens
README.md - Browser client → Account access: requests
frontend/script.js - Browser client → Dashboard stats: loads stats
frontend/script.js - Browser client → Notes upload: uploads notes
frontend/script.js - Browser client → Notes search: searches notes
frontend/script.js - Browser client → Note download: downloads files
frontend/script.js - Browser client → Schedule management: manages schedule
frontend/script.js - Browser client → Study groups: joins group
frontend/script.js - Account access → Study records: reads/writes users
backend/app.py - Dashboard stats → Study records: counts records
backend/app.py - Notes upload → Study records: saves note record
backend/app.py - Notes upload → Uploaded files: stores file
backend/app.py - Notes search → Study records: queries notes
backend/app.py - Note download → Uploaded files: serves file
backend/app.py - Schedule management → Study records: reads/writes entries
backend/app.py - Study groups → Study records: saves membership
backend/app.py