A React-based infinite whiteboard for generating and managing educational exercises using AI.
View in AI Studio: Practice Genie on AI Studio
Please read AGENTS.md for detailed workspace rules, coding standards ("vibe coding"), and architectural guidelines.
Prerequisites: Node.js, pnpm (recommended)
-
Install dependencies:
pnpm install # or npm install -
Setup Environment: Copy
.env.exampleto.env.localand set theMISTRAL_API_KEYto your Mistral API key. -
Run the app:
pnpm dev # or npm run dev
To create a production-ready build:
pnpm build
# or npm run buildThis will create a dist/ directory with optimized, minified files ready for deployment.
- Push your code to a Git repository
- Add your environment variables in the Vercel dashboard:
MISTRAL_API_KEY: Your Mistral API key
- Vercel will automatically detect the Vite project and build it
For other platforms, ensure you:
- Build the project with
pnpm build - Serve the
dist/directory with a web server - Set the
MISTRAL_API_KEYenvironment variable - Configure your server to serve
index.htmlfor all routes (SPA fallback)
MISTRAL_API_KEY: Required. Your Mistral API key for AI functionality.
