How avtandilkakulia/vocabulary-learning-app works
Vocabulary Learning is a React app for building English–Georgian vocabulary and practicing recall. The main workflow is authentication, word entry and search, then free practice or a scored test, with results available in history. Word management uses a dedicated data hook; authentication and vocabulary/test data use Supabase. The README also documents profiles, progress statistics, achievements, theme preferences, and cross-device sync. The graph preserves these capabilities, but unsampled implementations and their internal links are not inferred.
Main entry points: App.tsx App navigation · supabase.ts Supabase client · WordManagement.tsx Word management · WordModal.tsx Word editor
Components 22
Application shell
- App navigation
src/App.tsx - Error boundary
src/components/ErrorBoundary.tsx
Identity and preferences
- Sign in / signup
src/components/AuthPage.tsx - Session and auth
src/contexts/AuthContext.tsx - Theme preferences
src/contexts/ThemeContext.tsx
Vocabulary management
- Word management
src/components/WordManagement.tsx - Word data hook
src/components/words/useWords.ts - Word editor
src/components/words/modals/WordModal.tsx - Word table
src/components/words/WordTable.tsx - Search toolbar
src/components/words/WordToolbar.tsx - Pagination
src/components/words/Pagination.tsx - Modal portal
src/components/words/modals/ModalPortal.tsx - Word display styles
src/components/words/partOfSpeechStyles.ts
Practice and progress
- Free practice
src/components/FreeMode.tsx - Scored test
src/components/TestMode.tsx - Test history
src/components/History.tsx - Profile and progress
src/components/UserProfile.tsx
Backend and shared logic
- Supabase client
src/lib/supabase.ts - Supabase backend
- Description sanitizer
src/lib/sanitizeDescription.ts - Text formatting
src/lib/applyFormatting.ts
Other components
- Learner
Connections 30
- Learner → App navigation: uses
README.md - App navigation → Sign in / signup: shows signed out
src/App.tsx - App navigation → Word management: routes to
src/App.tsx - App navigation → Free practice: routes to
src/App.tsx - App navigation → Scored test: routes to
src/App.tsx - App navigation → Test history: routes to
src/App.tsx - App navigation → Profile and progress: shows profile
src/App.tsx - App navigation → Error boundary: wraps
src/App.tsx - Sign in / signup → Session and auth: requests auth
src/components/AuthPage.tsx - Session and auth → Supabase client: auth calls
src/contexts/AuthContext.tsx - Sign in / signup → Theme preferences: reads theme
src/components/AuthPage.tsx - Word management → Word data hook: uses data hook
src/components/WordManagement.tsx - Word management → Word table: renders
src/components/WordManagement.tsx - Word management → Search toolbar: renders
src/components/WordManagement.tsx - Word management → Pagination: renders
src/components/WordManagement.tsx - Word management → Word editor: opens editor
src/components/WordManagement.tsx - Word data hook → Supabase client: reads and writes
src/components/words/useWords.ts - Search toolbar → Word data hook: uses search
src/components/words/WordToolbar.tsx - Word table → Word display styles: uses styles
src/components/words/WordTable.tsx - Word editor → Modal portal: renders through
src/components/words/modals/WordModal.tsx - Word editor → Word data hook: calls word actions
src/components/words/modals/WordModal.tsx - Word editor → Text formatting: applies formatting
src/components/words/modals/WordModal.tsx - Word editor → Description sanitizer: sanitizes preview
src/components/words/modals/WordModal.tsx - Free practice → Supabase client: loads words and saves results
src/components/FreeMode.tsx - Scored test → Supabase client: uses backend
src/components/TestMode.tsx - Test history → Supabase client: loads history
src/components/History.tsx - Profile and progress → Supabase client: uses backend
src/components/UserProfile.tsx - Free practice → Description sanitizer: sanitizes descriptions
src/components/FreeMode.tsx - Scored test → Description sanitizer: sanitizes descriptions
src/components/TestMode.tsx - Supabase client → Supabase backend: connects to
README.md