This project contains a full-stack application with:
• 🔧 FastAPI backend running at http://localhost:8000 • 🎨 React frontend running at http://localhost:3000
Both services are containerized and orchestrated using Docker Compose.
Make sure you have the following installed on your system:
• 🐳 Docker Desktop • 🧱 Docker Compose (comes with Docker Desktop)
To start the application, run:
docker compose -f docker-compose.yml up --build
## 🌐 Access the Application
• *Frontend UI:* [http://localhost:3000](http://localhost:3000)
• *Backend API (FastAPI docs):* [http://localhost:8000/docs](http://localhost:8000/docs)
---
Important: Download Required Model Before Running Docker if you want the LLMs Proper Response
The backend requires the `SmolVLM2-2.2B-Instruct-Q4_K_M.gguf` model (~2GB) from Hugging Face. Due to GitHub's 100MB file size limit, it is **not included in this repository**.
#### 📥 Steps to Download the Model:
mkdir -p backend/models
##Link for huggingface model (2gb):https://huggingface.co/ggml-org/SmolVLM2-2.2B-Instruct-GGUF/resolve/main/SmolVLM2-2.2B-Instruct-Q4_K_M.gguf
Please upload it in backend/models directory
## 🐳 Running in Docker Desktop
Once the app is running, open *Docker Desktop*:
• Go to the *Containers* tab
• You will see two containers:
- fastapi-backend
- react-frontend
Each container shows:
• ✅ Live logs
• 💻 Terminal access
• 🔁 Port mappings
You can *start, **stop, and **restart* the containers from the Docker UI.
---
## 🧼 To Stop the App
• Press Ctrl + C in the terminal running Docker Compose
• Or use Docker Desktop to stop the containers manually
To remove all running containers and networks:
```bash
docker compose down


