# chatgpt-demo **Repository Path**: SnailSec/chatgpt-demo ## Basic Information - **Project Name**: chatgpt-demo - **Description**: aaaaaaaaaaaaaaaaa - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2023-03-03 - **Last Updated**: 2024-11-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ChatGPT-API Demo A demo repo based on [OpenAI GPT-3.5 Turbo API](https://platform.openai.com/docs/guides/chat). ## How to build 1. Setup & Install dependencies > First, you need [Node.js](https://nodejs.org/) (v18+) installed. ```shell npm i ``` 2. Make a copy of `.env.example`, then rename it to `.env` 3. Add your [OpenAI API key](https://platform.openai.com/account/api-keys) to `.env` ``` OPENAI_API_KEY=sk-xxx... ``` 4. Run the app ```shell npm run dev ``` ## License MIT