A simple ChatGPT UI clone built with React and the OpenAI API (gpt-3.5-turbo). Tries to match the look and feel of the real ChatGPT interface.
This project is licensed under the MIT License.
- React 19
- OpenAI API (
openainpm package) - CSS (no framework)
- Node.js installed
- An OpenAI API key
git clone https://github.com/Theodor908/ChatGPT-clone.git
cd ChatGPT-clone
npm installCreate a .env file in the root directory:
REACT_APP_OPENAI_API_KEY=API_SECRET
Replace API_SECRET with your actual OpenAI API key.
npm startOpens at http://localhost:3000.
| Command | Description |
|---|---|
npm test |
Run tests |
npm run build |
Production build |

