This full stack ChatGPT clone is a simple educational web application developed with the OpenAI library and built with React and Node.js. It allows users to chat with an AI language model that responds in real time.
🚀 Give a Star ⭐️ & Fork to this project ... Happy coding! 🤩`
- Install Node: https://nodejs.org/en
npm install -g node
Clone down this repository.
Cli: gh repo clone DaveSimoes/chatgpt-react-node-clone
In your terminal install the React library in the Web folder according to the line below:
- OpenAI API
- Node
- Express
- Javascript
- Cors
- React
- Javascript
npm i cors dotenv express openai
To run the Backend service, you need to type into your terminal according to the instructions below.
$ cd server
$ npm install
$ npm start
http://localhost:3000/
$ cd web
$ npm install
$ npm start
- React - https://react.dev/
- Javascript : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide
- Openai Library : https://platform.openai.com/docs/api-reference
- NPM : https://docs.npmjs.com/
- Node: https://nodejs.org/en