How duchai283/my-quiz-app works
Project type and purpose
• This is a single-page frontend web application (“ReMemorize”) built with React, TypeScript, Vite, and Tailwind CSS.
• Its goal is to let the user store personal learning points in JSON and quiz themselves on that material.
File structure
Top-level files and directories
• index.html + public/ → static assets and entry point
• package.json, pnpm-lock.json → build & dependency config (Vite, React, TypeScript)
• tailwind.config.js, postcss.config.js → CSS utility framework setup
• src/
– main.tsx → React app bootstrap (mount to DOM)
– App.tsx → root component, router container
– pages/ → route-driven views (journal, quizzes)
– components/ → reusable UI (Sidebar, HeroSection, DarkmodeToggle, etc.)
– utils/ → helper functions and Tailwind class generators
– assets/ → static media (videos)
– journal-data.json, mock.json, sample-journal-data.json → quiz data sources
– global.css → base styles
README insights
• Core features: list questions, display options, submit/validate answers, navigate next question.
• Optional features: localStorage caching, randomization.