# dist **Repository Path**: jackgoogle/dist ## Basic Information - **Project Name**: dist - **Description**: 放前端打包文件 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-06 - **Last Updated**: 2024-07-10 ## 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). ## Run Locally 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 ``` ## Deploy With Vercel [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/shenghuaxiong/chatgpt-demo&env=OPENAI_API_KEY&envDescription=OpenAI%20API%20Key&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys) ## License MIT