A full-stack conversational AI chatbot powered by Groq's LLaMA 3.3 model, built with React and Node.js.
Shiva is a responsive AI chatbot that uses the Groq API (LLaMA 3.3 70B) to generate intelligent, context-aware responses. It supports multi-turn conversations, meaning it remembers the chat history within a session — just like ChatGPT.
- Multi-turn conversation with full memory
- Real-time typing indicator
- Dark themed responsive UI
- Clear chat functionality
- Enter to send, Shift+Enter for new line
| Layer | Technology |
|---|---|
| Frontend | React, CSS |
| Backend | Node.js, Express.js |
| AI Model | Groq API — LLaMA 3.3 70B |
| Dev Tool | Nodemon |
- shiva-chatbot/
- backend/ -server.js -.env -package.json
- frontend/ -folder- src/ - App.js - App.css - index.js - package.json
- README.md
- Node.js (v18 or above)
- Free Groq API key from console.groq.com
git clone https://github.com/AayushiMohan/shiva-chatbot.git
cd shiva-chatbotcd backend
npm installCreate a .env file inside backend/:
- GROQ_API_KEY=your_groq_api_key_here PORT=5000
Start the server:
npm run devServer runs on http://localhost:5000
Open a new terminal:
cd frontend
npm install
npm startApp runs on http://localhost:3000
Visit http://localhost:3000 and start chatting!
Both terminals must be running at the same time.
| Variable | Description |
|---|---|
GROQ_API_KEY |
Your Groq API key from console.groq.com |
PORT |
Backend port (default: 5000) |
- Save chat history with MongoDB
- User authentication
- Multiple AI personas
- Deploy on Vercel + Render