A modern web application that allows users to upload documents and chat with an AI assistant powered by Google's Gemini. The application features a clean, responsive interface built with React and FastAPI.
- 📄 Upload and process various document formats
- 💬 Chat with AI about your documents
- 🎨 Modern and responsive UI
- 🚀 Fast API backend with FastAPI
- 🔒 Secure API key management with environment variables
- Node.js (v16 or higher)
- Python 3.8 or higher
- Google Gemini API key
-
Clone the repository
git clone <repository-url> cd GG-FST
-
Set up the backend
cd backend python -m venv venv source venv/bin/activate # On Windows: .\venv\Scripts\activate pip install -r requirements.txt
-
Set up the frontend
cd ../frontend npm install -
Configure API Key
- Get your Google Gemini API key from Google AI Studio
- Create a
.envfile in thebackenddirectory - Add your API key:
GEMINI_API_KEY=your_api_key_here
-
Start the backend server
cd backend uvicorn main:app --reload -
Start the frontend development server
cd ../frontend npm run dev -
Open your browser and navigate to
http://localhost:5173
GG-FST/
├── backend/ # FastAPI backend
│ ├── main.py # Main application file
│ ├── requirements.txt # Python dependencies
│ └── .env # Environment variables (create this file)
└── frontend/ # React frontend
├── src/ # Source files
├── public/ # Static files
└── package.json # Node.js dependencies
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Gemini for the AI capabilities
- FastAPI for the backend framework
- React for the frontend framework