How isyara-dev/isyara-frontend works
ISYARA is a web platform for learning BISINDO through structured lessons, real-time gesture practice, and word-building challenges. Users enter through routed, protected pages; authentication establishes their session, and learning/practice pages present material and use gesture detection for feedback. Dashboard, profile, and leaderboard provide progress and scoring views. The README documents the MediaPipe-to-TensorFlow gesture stages and Supabase OAuth; source excerpts show the app routing, auth/session handling, API client, and selected feature calls. Unsampled feature internals are represented at their known source paths, with only indexed or documented relationships shown.
Main entry points: App.jsx App routing · apiClient.js API client · AuthContext.jsx Auth context · BelajarPresenter.jsx Lesson presenter
Components 25
Application and access
- App routing
src/App.jsx - Auth pages
src/features/auth/pages - Navigation
src/common/components/layout/Sidebar.jsx
Learning and gestures
- Lesson presenter
src/features/belajar/belajar/presenter/BelajarPresenter.jsx - Lesson view
src/features/belajar/belajar/view/BelajarView.jsx - Learning model
src/features/belajar/core/models/LearningModel.js - Practice presenter
src/features/belajar/practice/presenter/PracticePresenter.jsx - Practice model
src/features/belajar/practice/model/PracticeModel.js - Gesture detector
src/features/gesture/components/HandGestureDetector.jsx - Camera practice
src/features/gesture/view/CameraTest.jsx - Gesture service
src/services/gesture/GestureDetectionService.js - Gesture classifier
src/features/gesture/models/GestureDetectionModel.js
Progress and challenges
- Dashboard
src/features/dashboard/pages/DashboardPage.jsx - Word challenge
src/features/tantangan/presenters/SusunKataPresenter.js - Leaderboard
src/features/peringkat/presenters/LeaderboardPresenter.jsx - Leaderboard view
src/features/peringkat/views/LeaderboardView.jsx - Profile
src/features/profile/pages/ProfilePage.jsx - Profile presenter
src/features/profile/presenters/ProfilePresenter.js
Identity and services
- Auth context
src/contexts/AuthContext.jsx - Auth service
src/services/auth/authService.js - Supabase client
src/services/supabaseClient.js - API client
src/services/api/apiClient.js - Notifications
src/services/NotificationService.jsx
Other components
- Learner
- ISYARA backend
Connections 29
- Learner → App routing: opens app
src/App.jsx - App routing → Auth pages: routes auth
src/App.jsx - App routing → Dashboard: routes protected
src/App.jsx - App routing → Lesson presenter: routes learning
src/App.jsx - App routing → Word challenge: routes challenge
src/App.jsx - App routing → Leaderboard: routes ranking
src/App.jsx - App routing → Profile: routes profile
src/App.jsx - Auth pages → Auth context: completes callback
src/features/auth/pages/AuthCallback.jsx - Auth context → Auth service: saves user
src/contexts/AuthContext.jsx - Auth context → Supabase client: manages session
src/contexts/AuthContext.jsx - Auth service → ISYARA backend: auth requests
src/services/auth/authService.js - Auth context → Learner: starts OAuth
src/contexts/AuthContext.jsx - Auth context → API client: uses profile API
- Dashboard → API client: loads progress
src/features/dashboard/pages/DashboardPage.jsx - Dashboard → Navigation: renders navigation
src/features/dashboard/pages/DashboardPage.jsx - Lesson presenter → Lesson view: presents lesson
src/features/belajar/index.jsx - Lesson presenter → Learning model: uses lesson data
src/features/belajar/index.jsx - Learner → Practice presenter: practices signs
README.md - Practice presenter → Practice model: uses practice logic
src/features/belajar/index.jsx - Camera practice → Gesture detector: renders detector
src/features/gesture/view/CameraTest.jsx - Gesture detector → Gesture classifier: classifies signs
README.md - Word challenge → Gesture service: checks gestures
src/features/tantangan/presenters/SusunKataPresenter.js - Gesture service → API client: fetches hints
src/services/gesture/GestureDetectionService.js - Word challenge → API client: submits challenge data
src/features/tantangan/presenters/SusunKataPresenter.js - Leaderboard → Leaderboard view: provides view data
src/features/peringkat/presenters/LeaderboardPresenter.jsx - Leaderboard → API client: loads rankings
- Profile → Profile presenter: uses presenter
src/features/profile/pages/ProfilePage.jsx - Profile presenter → Notifications: shows notices
src/features/profile/presenters/ProfilePresenter.js - Profile presenter → API client: uses profile data