An AI-Powered ChatBot with ChatGPT and React
This is an AI-Powered ChatBot with OpenAI, ChatGPT, Node.js, and React
Dependencies
Backend
Frontend
Installation
-
Clone this repo
https://github.com/Aklilu-Mandefro/chatbot-using-react-nodejs-chatgpt
-
Navigate into the repo
cd chatbot-using-react-nodejs-chatgpt
-
Navigate into the
backend
foldercd backend
-
Install the dependencies
npm install
-
Replace the configuration data with your own data in the
index.js
file -
Run the
index.js
filenode index
That will start the backend server on port 8000
: http://localhost:8000/
- Navigate into the
frontend
foldercd frontend
- Install the dependencies
npm install
- Start the local server
npm run dev
That will open the project on your default browser: http://127.0.0.1:5173/. You can now chat with the AI from your browser