How evavic44/quiznote works
Project type and purpose
• Quiznote is a cloud‑hosted, full‑stack web application built with Next.js.
• Its purpose is to transform user‐provided notes into interactive quizzes via Google’s Gemini AI (Vertex AI) API, helping users retain what they learn.
File structure
• Top level:
• next.config.mjs, tsconfig.json, tailwind.config.ts → Next.js & TypeScript + Tailwind CSS configs
• public/ → static assets (images, logo) served by Vercel CDN
• data/ → sample input files (PDF, text, JSON templates) used by developers
• src/app/ → Next.js “app·directory” routes:
• page.tsx, layout.tsx, globals.css, not‑found.tsx → UI shell & global styles
• api/generate/route.ts → serverless API endpoint that calls Gemini
• src/components/ → React UI components:
• global (Navbar, Footer, mobile menu)
• pages (FormContainer, QuizContainer, Summary, etc.)
• shared (buttons, loading indicators, progress bars)
• src/store/ → client‐side state stores (likely Zustand or Context): form data, quiz data, timer
• src/actions/graph.ts → business logic that may transform AI output into the quiz graph/structure
README for additional insights
• Integration file: route.ts is the bridge to Gemini AI
• UI framework: Next.js + TailwindCSS
• Hosted on Vercel, no external database—state is in memory