React JS practice using ChatGPT API calls. Code based on Ania Kubow's tutorial.
The goal of this project is to learn and practice the following things:
- Frontend and backend development using JS and React
- Using API calls to chatGPT
The backend code for the website. Also contains the API calls to ChatGPT.
The Frontend code for project. Contains logic for multiple chats with access to previous chat history.
npm run start:backend npm run start:frontend
User interface when opening the website. Able to send messages at the bottom and starting a new chat on the top left.
Shows the message and response from the user and the ChatGPT API. Previous chat history can be accessed from the left column.
In this project I practiced with JS and also front and back end development. I was also able to work the ChatGPT and handle the API calls and procesing the information returned. The next steps are to work on developing the project in TypeScript.