RAG BASED PDF Chat Bot
Backend : Node.js ,Express.js ,LangChain , Google Gemini AI, Multer
Frontend : React.js ,TailwindCSS ,Axios
Database : QdrantDB - Vector database running in Docker
-
Clone and Install npm install npm run install-all
-
Environment Setup Create environment files for both frontend and backend: backend GEMINI_API_KEY=your_gemini_api_key_here QDRANT_URL=http://localhost:6333 PORT=5000
frontend REACT_APP_API_URL=http://localhost:5000
-
Start QdrantDB (Vector Database) docker-compose up -d This will start QdrantDB on port 6333. You can verify it's running by visiting http://localhost:6333/dashboard
-
Run the Application npm run dev
-
Use the Application
-
Open your browser and go to http://localhost:3000
-
Upload a PDF file using file picker
-
Wait for processing (you'll see a success message)
-
Start asking questions about your PDF content




