This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/de0b3e28-4f51-47e1-8613-1686318c1cae
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
The dev server binds to 0.0.0.0, so other computers on the same network can open the app with your machine's local IP address.
Example:
http://192.168.x.x:5173
If you want to share a production build instead:
- Build the app:
npm run build - Preview it:
npm run preview - Open
http://<your-ip>:4173from another computer
