How caobatuan/flashcard_project works
Studyio is a browser flashcard app. Users sign in or open shared sets, create/import and manage cards, then study them with Learn, Test, or flashcard review. Routing is centralized in the React entry point; screens access Firebase-backed data directly. The README documents importing, sharing without an account, spaced-repetition learning, and varied test questions; Test and Import implementations were not sampled. Firebase.js contains demo-valued mock exports, so the excerpts do not establish a working remote Firebase configuration.
Main entry points: index.js Route dispatch · App.js App shell · Card.js Set detail · Learn.js Spaced learning
Components 16
App and navigation
- Route dispatch
src/index.js - App shell
src/App.js
Flashcard sets
- Set library
src/Home.js - Create sets
src/Create.js - Import sets
src/Import.js - Set detail
src/Card.js - Edit sets
src/Edit.js
Study modes
- Flashcard review
src/Flashcard.js - Spaced learning
src/Learn.js - Knowledge test
src/Test.js
Data services
- Firebase exports
src/Firebase.js - Firestore data
- Firebase Auth
Other components
- Learner
Connections 23
- Learner → Route dispatch: uses app
src/index.js - Route dispatch → App shell: routes through
src/index.js - Route dispatch → Set library: routes to
src/index.js - Route dispatch → Create sets: routes to
src/index.js - Route dispatch → Import sets: routes to
src/index.js - Route dispatch → Set detail: routes to
src/index.js - Route dispatch → Edit sets: routes to
src/index.js - Route dispatch → Account: routes to
src/index.js - Route dispatch → Flashcard review: routes to
src/index.js - Route dispatch → Spaced learning: routes to
src/index.js - Route dispatch → Knowledge test: routes to
src/index.js - App shell → Sign in: renders
src/App.js - App shell → Firebase exports: uses app
src/App.js - Sign in → Firebase Auth: authenticates with
src/Signin.js - App shell → Firebase Auth: checks session
src/App.js - Set library → Firestore data: reads set list
src/Home.js - Create sets → Firestore data: writes set
src/Create.js - Edit sets → Firestore data: reads set
src/Edit.js - Set detail → Firestore data: reads set
src/Card.js - Spaced learning → Firestore data: reads cards
src/Learn.js - Flashcard review → Firestore data: reads cards
src/Flashcard.js - Set detail → Spaced learning: links to
src/Card.js - Set detail → Knowledge test: links to
src/Card.js