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 folder cd backend

  • Install the dependencies npm install

  • Replace the configuration data with your own data in the index.js file

  • Run the index.js file node index

That will start the backend server on port 8000: http://localhost:8000/

  • Navigate into the frontend folder cd 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

Final Preview of The ChatBot

GitHub

View Github