How emtiajium/vocabulary-flashcard-frontend works
Firecracker Vocabulary is a web and Android vocabulary-learning app. Users sign in, browse and search vocabulary, create or edit entries, and practice through dictionary, guessing-game, and Leitner flashcard flows; cohorts and account deletion are additional capabilities. The router exposes these screens and checks locally stored authentication, while feature views use shared HTTP and persistence services. The README identifies a separate backend and Firebase/Google sign-in setup. Some feature implementations were not sampled, so their internal links are omitted where the available evidence does not establish them.
Main entry points: index.ts App router · HttpHandler.ts HTTP client · NativeStorage.ts Native storage · GoogleAuthentication.ts Google authentication
Components 21
Navigation and access
- App router
src/router/index.ts - Sign-in
src/views/kick-off/SignIn.vue - Account deletion
src/views/kick-the-bucket/Deletion.vue - Shared header
src/views/shared/FirecrackerHeader.vue
Vocabulary learning
- Vocabulary browser
src/views/vocab-read/VocabularyList.vue - Vocabulary editor
src/views/vocab-upsert/AddVocabulary.vue - Definition editor
src/views/vocab-upsert/AddDefinition.vue - Dictionary
src/views/vocab-read/DictionaryPage.vue - Vocabulary details
src/views/vocab-read/VocabularyDetailsPage.vue - Linker words
src/views/vocab-read/LinkerWord.vue
Practice and cohorts
- Guessing game
src/views/vocab-read/GuessingGame.vue - Leitner systems
src/views/leitner-systems/LeitnerSystems.vue - Flashcard items
src/views/leitner-systems/LeitnerBoxItems.vue - Cohort
src/views/cohort/Cohort.vue
App services
- Google authentication
src/utils/GoogleAuthentication.ts - Native storage
src/utils/NativeStorage.ts - HTTP client
src/utils/HttpHandler.ts - Leitner service
src/utils/LeitnerSystemService.ts
Other components
- Learner
- Vocabulary backend
- Google sign-in
Connections 28
- Learner → App router: opens screens
src/router/index.ts - App router → Sign-in: routes to
src/router/index.ts - App router → Vocabulary browser: routes to
src/router/index.ts - App router → Vocabulary editor: routes to
src/router/index.ts - App router → Dictionary: routes to
src/router/index.ts - App router → Vocabulary details: routes to
src/router/index.ts - App router → Linker words: routes to
src/router/index.ts - App router → Guessing game: routes to
src/router/index.ts - App router → Leitner systems: routes to
src/router/index.ts - App router → Flashcard items: routes to
src/router/index.ts - App router → Cohort: routes to
src/router/index.ts - App router → Account deletion: routes to
src/router/index.ts - App router → Native storage: checks auth
src/router/index.ts - Sign-in → Google authentication: signs in
- Google authentication → Google sign-in: authenticates with
- Google authentication → Native storage: stores user
src/utils/GoogleAuthentication.ts - Vocabulary browser → HTTP client: searches vocab
src/views/vocab-read/VocabularyList.vue - Vocabulary browser → Native storage: reads settings
src/views/vocab-read/VocabularyList.vue - Vocabulary editor → HTTP client: saves vocab
src/views/vocab-upsert/AddVocabulary.vue - Vocabulary editor → Definition editor: uses editor
src/views/vocab-upsert/AddVocabulary.vue - Flashcard items → HTTP client: loads items
src/views/leitner-systems/LeitnerBoxItems.vue - Flashcard items → Native storage: reads reload flag
src/views/leitner-systems/LeitnerBoxItems.vue - Leitner service → HTTP client: requests data
src/utils/LeitnerSystemService.ts - HTTP client → Google authentication: gets token
src/utils/HttpHandler.ts - HTTP client → Vocabulary backend: sends requests
- Account deletion → HTTP client: deletes account
src/views/kick-the-bucket/Deletion.vue - Account deletion → Native storage: clears credentials
src/views/kick-the-bucket/Deletion.vue - Shared header → Learner: provides navigation