Skip to content

DaveSimoes/chatgpt-react-node-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 

Repository files navigation

image

ChatGPT-React-Node-clone

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! 🤩`

Requirement:

image

     npm install -g node

Getting Started 🚀

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:

image

Stacks for this project :

Backend

  • OpenAI API
  • Node
  • Express
  • Javascript
  • Cors

Frontend

  • React
  • Javascript

It´s necessary install the dependencies by npm package:

 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

Once this is done, the backend service will be running on port :3000.

  http://localhost:3000/

To run the Frontend service, please type in your terminal according to the instructions below.

$ cd web
$ npm install
$ npm start

Reference:

Show your support!
Give a ⭐ !

Thank You ! ☺️