Getting Started¶
Follow these steps to set up the Flashcard Quizzer on your local machine.
Prerequisites¶
The project strictly utilizes uv for dependency management and running the application. Make sure you have uv installed.
If you don't have uv installed, check their official installation guide.
Installation¶
-
Clone the repository:
-
Sync the environment: Use
uvto create the virtual environment and install dependencies based on theuv.lockfile.
Sample Data Files¶
The application requires flashcards to be stored in JSON format. It supports two different structures.
Format 1: Array of Objects
[
{
"front": "What does HTTP stand for?",
"back": "HyperText Transfer Protocol"
},
{
"front": "What is 1 + 1?",
"back": "2"
}
]
Format 2: Wrapped Object
Store your decks in the data/ directory (or anywhere on your machine).
Running Your First Quiz¶
Once you have a JSON file ready, you can start the application:
For more details on commands and flags, see the CLI Reference.