How ramanakilli69-spec/learnmate.ai works
LearnMate.ai is a student learning app for programming and mathematics. Its apparent workflow is account access, subject and topic study, quiz submission, and progress or recommendations; it also offers an AI tutor. The backend routes implement these learning and account stages, with SQLite persistence and password/session utilities. The HTML files indicate separate user screens, but their contents were not sampled, so frontend-to-API wiring is not verified. The README provides no capability details, and the AI provider relationship is visible in the backend excerpt.
Main entry points: database.py SQLite database · main.py Account and session routes · login.html Login screen · register.html Registration screen
Components 19
Student screens
- Login screen
login.html - Registration screen
register.html - Dashboard
dashboard.html - Subject screen
subject.html - Quiz screen
quiz.html - Progress screen
progress.html - Tutor screen
tutor.html - Home screen
index.html
Learning API
- Subjects and topics
main.py - Quiz marking
main.py - Progress and suggestions
main.py - AI tutor route
main.py
Accounts and security
- Account and session routes
main.py - Password and tokens
security.py
Persistence
- Database setup
database.py - Sample learning content
seed_data.py - SQLite database
database.py
Other components
- Student
- AI completion service
Connections 16
- Student → Login screen: uses
- Student → Registration screen: uses
- Student → Dashboard: uses
- Student → Subject screen: uses
- Student → Quiz screen: uses
- Student → Progress screen: uses
- Student → Tutor screen: uses
- Student → Home screen: uses
- Account and session routes → Password and tokens: verifies credentials
main.py - Account and session routes → SQLite database: reads and writes
main.py - Subjects and topics → SQLite database: reads
main.py - Quiz marking → SQLite database: reads and records
main.py - Progress and suggestions → SQLite database: reads attempts
main.py - AI tutor route → AI completion service: requests answer
main.py - Database setup → Sample learning content: seeds when empty
database.py - Database setup → SQLite database: creates schema
database.py