Skip to content

lamriaimen/gemini_chatbot

Repository files navigation

  • All messages are persisted to Supabase

Commands

# Development
npm run dev

# Build for production
npm run build

# Start production server
npm start

# Run linter
npm run lint

Deployment

Deploy to Vercel

  1. Push your code to GitHub
  2. Import the repository in Vercel
  3. Add environment variables in Vercel project settings
  4. Deploy!

The app will be live at https://your-app.vercel.app

Environment Variables in Production

Make sure to add all three environment variables in your Vercel project settings:

  • NEXT_PUBLIC_SUPABASE_URL
  • NEXT_PUBLIC_SUPABASE_ANON_KEY
  • GEMINI_API_KEY

Contributing

This is a case study project, but suggestions are welcome! Feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Google Gemini for the LLM API
  • Supabase for auth and database
  • Next.js team for the amazing framework
  • Vercel for hosting

About

Ai chatbot using Gemini API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors