Chat with Gemini AI and get an answer
-
Clone the repository
git clone https://github.com/Moh7ven/chat-with-gemini-app.git
-
Enter your gemini API key in the _.env _ file
-
Install the dependencies
npm install
-
move to server folder
cd server
-
Genarate prisma schema
npx prisma generate
-
Push the database
npx prisma db push
-
Start react server
npm run dev
-
Start gemini server
npm run serve
-
Open the browser and go to http://localhost:5173/