Folder Structure As of: 9/1/2026 11:25am -- file:///C:/Users/Admin-Portable/Desktop/Homeschool%20Lesson%20App/src/index.html -- Homeschool Lesson App/ │ ├── package.json ├── README.md │ ├── src/ # Frontend vanilla web assets │ ├── index.html # Main entry point for the single-page app │ │ │ ├── css/ │ │ └── styles.css # All application styling │ │ │ ├── js/ │ │ ├── app.js # Main app init, routing, Tauri listeners │ │ ├── parent.js # Parent mode DOM logic (create cards, dashboard) │ │ ├── student.js # Student mode DOM logic (answer cards, feedback) │ │ └── db-helpers.js # Frontend wrappers that call Tauri commands │ │ │ └── assets/ │ ├── images/ │ │ └── app-logo.png │ └── icons/ │ └── favicon.ico │ ├── src-tauri/ # Rust backend and Tauri configuration │ ├── Cargo.toml # Rust dependencies (rusqlite, reqwest, sha2) │ ├── tauri.conf.json # Tauri app config, window settings, security │ │ │ ├── capabilities/ # Tauri v2 security permissions │ │ └── default.json # Strictly defines which JS commands are allowed │ │ │ ├── icons/ # Icons compiled into the final Windows .exe │ │ ├── icon.ico │ │ └── icon.png │ │ │ ├── resources/ # Static files bundled into the Windows installer │ │ └── ollama.exe # The portable Ollama executable for Windows │ │ │ └── src/ │ ├── main.rs # Standard Rust main entry point (usually minimal in Tauri) │ ├── lib.rs # Tauri builder, command registration, setup hooks │ │ │ ├── commands/ │ │ ├── mod.rs # Command module declarations │ │ ├── student_commands.rs # Handles submitting answers, fetching next card │ │ ├── parent_commands.rs # Handles creating/editing cards, reviewing AI │ │ └── ai_commands.rs # Handles triggering AI generation, validating JSON │ │ │ ├── db/ │ │ ├── mod.rs # Database initialization logic │ │ ├── migrations.rs # SQL scripts to create tables on first run │ │ └── queries.rs # Reusable functions to insert/select data │ │ │ └── ai/ │ ├── mod.rs # AI module entry point │ ├── process.rs # Logic to find and silently start ollama.exe │ └── validator.rs # Strict checks to ensure AI output is safe/valid │ ├── models/ # (Created at runtime, ignored by Git) │ └── *.gguf # Downloaded AI model brains stored here │ └── backups/ # (Created at runtime, ignored by Git) └── homeschool-backup-*.json # Local user-generated database exports --