How hsuchen1/misquizapp works
Project type and purpose
• This is a single‐page PWA frontend application built with React + Vite + TypeScript.
• It’s an AI‐powered interactive game/app (“AI Studio app”) that calls the external Gemini API for AI functionality.
File structure
• Top level:
• App.tsx, index.tsx/js, index.html → entry points for React/Vite
• service-worker.js, manifest.json, metadata.json → PWA & offline support
• components/ → UI screens (Start, Game, Review, GameOver)
• constants.ts, types.ts → shared types and constants
• package.json, tsconfig.json, vite.config.ts → build & tooling config
• No backend folder → purely client-side; external API used for AI calls.
README
• Confirms Node.js + Vite dev server locally
• Requires GEMINI_API_KEY in .env.local → calls external Gemini API