Vocab Wallet is a small single page application for learning Arabic vocabulary. The project was generated from a Magic Patterns design and built with Vite, React and TypeScript.
The app contains a set of short lessons and lets you review the words using flashcards. It keeps track of your progress in local storage and provides simple statistics about cards reviewed each day. A searchable dictionary view is also included so you can quickly look up words and jump back to the lesson they belong to.
-
Install dependencies
npm install
-
Start the development server
npm run dev
The app will be available at
http://localhost:5173by default. -
Run the unit tests
npm test
To create an optimized production build run:
npm run buildYou can preview the built files locally with:
npm run previewsrc/components– React components for the lessons, review flow, stats and dictionarysrc/utils– helper utilities such as statistics trackingsrc/__tests__– sample tests using Vitest
Feel free to adapt the code for your own vocabulary lists or other languages. Enjoy!