https://github.com/emrd/gemini-api-react-example
https://github.com/emrd/gemini-api-react-example
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emrd/gemini-api-react-example
- Owner: EmrD
- Created: 2024-11-08T21:04:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-08T21:08:02.000Z (over 1 year ago)
- Last Synced: 2025-07-22T23:55:16.750Z (11 months ago)
- Language: JavaScript
- Size: 732 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gemini API + React Example
This is an example repository that shows Gemnini API usage with React.
## Getting Started
To run locally;
- Generate your API key.
- Add your API key to ``const genAI = new GoogleGenerativeAI("YOUR_API_KEY");`` code.
- Or you can get your API key from ``process.env`` as a environment variable or your backend.