How sparky1911/vocap works
Essence is an offline-first GRE vocabulary trainer organized around three drills: polarity snap, bucket sort, and odd one out. Learners choose a drill on Home; App creates a spaced-repetition queue, Drill builds and grades questions, and progress is saved locally before the learner reviews a session summary or browses the zone library. The graph reflects explicit imports and calls in the excerpts and README; styling primitives and the word-list data are included as supporting layers, while deployment machinery is excluded.
Main entry points: App.jsx App state and routing · Home.jsx Home and mode selection · Drill.jsx Drill session · Library.jsx Zone library
Components 14
Study experience
- App state and routing
src/App.jsx - Home and mode selection
src/views/Home.jsx - Drill session
src/views/Drill.jsx - Session summary
src/views/Summary.jsx - Zone library
src/views/Library.jsx
Learning engine
- Drill configuration
src/modes.js - Queue and grading
src/engine.js - Progress persistence
src/storage.js
Vocabulary content
- Word parsing and zones
src/data.js - Built-in vocabulary
src/words.txt
Presentation
- Shared UI primitives
src/design/ui.jsx - Design tokens
src/design/tokens.css - Component styles
src/design/components.css
Other components
- Learner
Connections 25
- Learner → Home and mode selection: chooses drill
src/views/Home.jsx - Learner → Drill session: answers questions
src/views/Drill.jsx - App state and routing → Home and mode selection: renders
src/App.jsx - App state and routing → Drill session: renders
src/App.jsx - App state and routing → Session summary: renders
src/App.jsx - App state and routing → Zone library: renders
src/App.jsx - Home and mode selection → App state and routing: starts and navigates
src/App.jsx - App state and routing → Drill configuration: reads configuration
src/App.jsx - App state and routing → Queue and grading: builds queue
src/App.jsx - App state and routing → Word parsing and zones: uses words and zones
src/App.jsx - Word parsing and zones → Built-in vocabulary: parses
- App state and routing → Progress persistence: loads and saves progress
src/App.jsx - Drill session → Queue and grading: builds options and grades
src/views/Drill.jsx - Drill session → Drill configuration: reads drill settings
src/views/Drill.jsx - Drill session → App state and routing: reports answers and completion
src/App.jsx - Session summary → App state and routing: requests another round or home
src/App.jsx - Zone library → Queue and grading: reads review cards
src/views/Library.jsx - Zone library → App state and routing: returns home
src/App.jsx - Home and mode selection → Progress persistence: checks storage availability
src/views/Home.jsx - Home and mode selection → Drill configuration: lists drill modes
src/views/Home.jsx - Drill session → Shared UI primitives: composes controls
src/views/Drill.jsx - Home and mode selection → Shared UI primitives: composes controls
src/views/Home.jsx - Session summary → Shared UI primitives: composes controls
src/views/Summary.jsx - Zone library → Shared UI primitives: composes controls
src/views/Library.jsx - Design tokens → Component styles: supplies design values