How jackgarrus/flashy works
Project type and purpose
• This is a single-page front-end application (built with Create React App) that implements a flashcard/quiz tool for practicing verbs.
• There is no separate backend or external API; all data is stored locally (verbs.json, localStorage via hooks).
File structure
• Top level:
• public/ – static assets & HTML shell
• src/ – application source code
• tailwind.config.js, tsconfig.json – build/tooling configs
• src/ contains:
• components/ – UI components (Quiz, FlashcardViewer, ControlPanel, etc)
• hooks/ – custom React hooks for state & persistence (useQuizState, useFavorites)
• data/ – static JSON data (verbs.json)
• utils/ – pure helper functions (checkAnswer, filters)
• index.tsx & App.tsx – application entry point & root component
• tests alongside relevant components/hooks
• build pipeline is provided by Create React App (webpack, Babel, PostCSS/Tailwind).
README for additional insights
• Standard CRA project; no custom architecture docs or server interactions described.
• Emphasis on typical npm scripts (start, test, build, eject).