BiteBot is a production-ready, full-stack food delivery chatbot with a persistent database, dynamic logic, and a modern frontend interface.
- Frontend: React + TypeScript + Vite + Lucide (UI)
- Backend: Node.js + Express + TypeScript (API)
- Database: SQLite (Persistent)
- NLP: Keyword-based logic with Sentiment Analysis.
Run this command from the root to install everything (Backend + Frontend):
npm run install-allRun this command to launch the full system:
npm start- Backend: Starts on http://localhost:3001
- Frontend: Starts on http://localhost:5173
BiteBot is built to handle:
- Order Tracking: Ask "Where is my food?" or "Order status #9945".
- Order History: View the last 3 orders in a clean table format.
- Refund Policy: Get instant answers on refund processing times.
- Cancellations: Find out when you can cancel an order.
- Sentiment Analysis: If you report a problem (e.g., "Food is cold"), BiteBot offers priority support.
/hack1
/backend
/src
- database.ts (SQLite config & mock data)
- chatService.ts (Bot intelligence)
- server.ts (REST API)
/frontend
/src
- App.tsx (Chat Interface)
- App.css (Swiggy-style theme)