Skip to content

alaaet/react-google-generative-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Dashboard for connecting with Google AI Studio API

A Vite + React + Google AI Studio project

Dashboard

Development

To get a local copy of the code, clone it using git:

git clone https://github.com/alaaet/react-google-generative-ai
cd react-google-generative-ai

Make it your own:

rm -rf .git && git init && npm init
git add .
git commit -m "Initial commit"

Install dependencies:

npm i

create your .env file with the following variable:

VITE_GEMINI_API_KEY=***********_****************************

give it your API key that you can get from here


Now, you can start a local web server by running:

npm start

And then open http://localhost:3000 to view it in the browser.

Available Scripts

In this project, you can run the following scripts:

Script Description
npm start Runs the app in the development mode.
npm test Launches the test runner in the interactive watch mode.
npm run build Builds the app for production to the dist folder.
npm run serve Serves the production build from the dist folder.

Credits

This React Google Generative AI is built and maintained by Alaa Abuiteiwi.

License

This project is licensed under the terms of the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published