# note-fastapi **Repository Path**: zhouboyi/note-fastapi ## Basic Information - **Project Name**: note-fastapi - **Description**: No description available - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-20 - **Last Updated**: 2025-03-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: FastAPI, Uvicorn ## README

📔 note-fastapi

### 📖 语言 简体中文 | [English](./README.en.md) ### ⌛ 开始 #### 创建虚拟环境 * 在根目录下创建虚拟环境 #### 安装第三方库 ``` pip install fastapi==0.115.8 -i https://pypi.tuna.tsinghua.edu.cn/simple pip install uvicorn==0.34.0 -i https://pypi.tuna.tsinghua.edu.cn/simple ``` #### pip 国内镜像源 ``` # 清华大学 https://pypi.tuna.tsinghua.edu.cn/simple # 中国科学技术大学 https://pypi.mirrors.ustc.edu.cn/simple # 阿里云 https://mirrors.aliyun.com/pypi/simple # 豆瓣 https://pypi.douban.com/simple ``` #### 运行 ###### 开发模式 ```bash uvicorn main:app --port 18072 --reload ``` ###### 生产模式 ```bash uvicorn main:app --host 0.0.0.0 --port 18072 ``` ### 📜 开源协议 [MIT License](https://opensource.org/licenses/MIT) Copyright (c) 2022 周博义