An open API service indexing awesome lists of open source software.

https://github.com/emrd/gemini-api-react-example


https://github.com/emrd/gemini-api-react-example

Last synced: 8 months ago
JSON representation

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.