The ChatBot enables users to ask questions to their favourite Character and Responses mimic the character's personality. It also maintains a history of past questions and answers for reference.
- Frontend: React.js
- Backend: Node.js + Express.js
- Database: MongoDB
- AI API: OpenAI (Claude3 via RapidAPI)
Prerequisites
Ensure you have the following installed:
- Node.js
- MongoDB
- npm or yarn
Setup Instructions
- Clone the Repository
git clone https://github.com/yashsingha99/ChatBot.git- Backend Setup
- Navigate to the backend directory:
cd backend- Install dependencies:
npm install- Configure environment variables (.env file):
MONGO_URI=your_mongodb_connection_string- Start the backend server:
npm start- Frontend Setup
- Navigate to the frontend directory:
cd frontend- Install dependencies:
npm install- Start the frontend application:
npm start