This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/c3e27f90-305a-43dd-a2f8-bc6065841a40
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
- Push your repository to GitHub.
- In Netlify, create a new site from Git.
- Set the build command to
npm run buildand the publish directory todist. - Add the environment variable
GEMINI_API_KEYin Netlify site settings. - Deploy the site.
If your app uses client-side routing later, Netlify will serve
index.htmlfor all routes because of the redirect rule innetlify.toml.
