This is a personal project that I worked on, its just a simple chat window to chat with chat GPT and may be good for testing an API key. (please click the code button and "download as zip" if you would like to download the project files) Please note that I do not have a working API account so I was only able to verify that I was getting a request back from the server.
This is a react project so I would suggest doing the following
-
In VS Code open a terminal and CD into the project root directory
-
Run the command
npm install
this will install all the needed dependencies to run the react site. -
Go into the root directory of the project in VS Code, you will find a file named .env and inside you will see where you need to input your API key
-
Run the command
npm start
and use the test site to check if the API key works or to just have a personal page to run GPT on.