# FastAPI-Demo **Repository Path**: Liufei_1/fast-api-demo ## Basic Information - **Project Name**: FastAPI-Demo - **Description**: Python -WEB框架FastAPI基本使用示例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-06 - **Last Updated**: 2022-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: FastAPI ## README # FastAPI-Demo #### 介绍 Python -WEB框架FastAPI基本使用示例 #### 软件架构 Python 3.8 FastAPI 0.7 MySQL 5.7 #### 安装教程 ``` git clone https://gitee.com/Liufei_1/fast-api-demo cd fast-api-demo mkvirtualenv fast_api pip install -r requirements.txt -i https://pypi.douban.com/simple uvicorn main:app --port=8000 --host=0.0.0.0 --reload ``` #### 使用说明 ``` mysql -h localhost -P 3306 -u root -p update user set host = '%' where user = 'root' and host = 'localhost'; CREATE DATABASE IF NOT EXISTS `fast_api` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; ``` #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技