This is a fullstack chatbot created with React, Nodejs, OpenAi, and ChatGPT while developing the following tutorial:
How To Build A Chat Bot Application With OpenAI, ChatGPT, Nodejs, And React
-
Clone this repo
https://github.com/EBEREGIT/react-nodejs-chatgpt-tutorial
-
Navigate into the repo
cd react-nodejs-chatgpt-tutorial
-
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