How mehmetcan455/kocluk works
Zirve Akademi is an offline-first YKS study tracker. Students use its routed web app to manage books and reading progress, weekly plans, subject/topic progress, exams, photos, notes, and practice; data is stored locally first and account data syncs to the PHP API and MariaDB. The graph includes the documented account, export/delete, email, and maintenance capabilities. Some feature and sync internals were not sampled, so relationships without direct evidence are omitted.
Main entry points: Database.php Database access · AuthService.php Authentication · repositories.ts Study repositories · books Book tracking
Components 27
Study app
- App routes
src/app/routes.tsx - Account screens
src/features/auth - Book tracking
src/features/books - Weekly planning
src/features/schedule - Topic progress
src/features/subjects - Exams and practice
src/features/exams - Photos and notes
src/features/photos - Study overview
src/features/dashboard - Account settings
src/features/settings
Local study data
- Book catalog
src/data/catalog/index.ts - IndexedDB
src/db/db.ts - Study repositories
src/db/repositories.ts - Schedule data
src/db/scheduleRepository.ts
Accounts and API
- PHP API router
api/src/App.php - Authentication
api/src/Auth/AuthService.php - Session service
api/src/Auth/SessionService.php - Rate limiting
api/src/Auth/RateLimiter.php - Database access
api/src/Db/Database.php - Email delivery
api/src/Mail/Mailer.php
Data synchronization
- Sync queue
src/db/sync/queue.ts - Sync engine
src/db/sync/engine.ts - Sync service
api/src/Sync/SyncService.php - Sync table mapping
api/src/Sync/TableMap.php
Operations
- Maintenance tasks
api/src/Maintenance/MaintenanceService.php - Database backup
api/bin/backup.php
Other components
- Student
- MariaDB
Connections 35
- Student → App routes: uses
src/app/routes.tsx - App routes → Account screens: routes to
src/app/routes.tsx - App routes → Book tracking: routes to
src/app/routes.tsx - Student → Book tracking: tracks reading
README.md - Student → Weekly planning: plans study
README.md - Student → Topic progress: marks progress
README.md - Student → Exams and practice: records exams
README.md - Student → Photos and notes: keeps study material
README.md - Student → Study overview: views overview
README.md - Student → Account settings: manages account
README.md - Book tracking → Book catalog: selects from
README.md - Book tracking → Study repositories: stores through
- Weekly planning → Schedule data: saves plan
README.md - Weekly planning → Study repositories: updates reading
README.md - Topic progress → Study repositories: stores progress
- Exams and practice → Study repositories: stores records
- Photos and notes → IndexedDB: keeps on device
README.md - Study repositories → IndexedDB: reads and writes
- Schedule data → IndexedDB: reads and writes
src/db/scheduleRepository.ts - Sync engine → Sync queue: processes queue
src/db/sync/engine.ts - Sync engine → Sync service: syncs via API
README.md - Sync engine → IndexedDB: syncs local data
src/db/sync/engine.ts - PHP API router → Authentication: routes auth
api/src/App.php - PHP API router → Session service: manages sessions
api/src/App.php - PHP API router → Sync service: routes sync
api/src/App.php - Authentication → Rate limiting: checks limits
api/src/Auth/AuthService.php - Authentication → Session service: creates sessions
api/src/Auth/AuthService.php - Authentication → Email delivery: queues email
api/src/Auth/AuthService.php - Sync service → Sync table mapping: maps rows
api/src/Sync/SyncService.php - Sync service → Database access: reads and writes
api/src/Sync/SyncService.php - Authentication → Database access: reads and writes
api/src/Auth/AuthService.php - Session service → Database access: stores sessions
api/src/Auth/SessionService.php - Database access → MariaDB: connects to
api/src/Db/Database.php - Maintenance tasks → Database access: maintains
api/src/Maintenance/MaintenanceService.php - Database backup → Database access: backs up
api/bin/backup.php