From 8136b781c52ee99020d53bf285c8b2989f52ef93 Mon Sep 17 00:00:00 2001 From: MarkusJoe Date: Sun, 11 Sep 2022 10:29:20 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1de33b4..4c1ae4f 100644 --- a/README.md +++ b/README.md @@ -4,18 +4,21 @@ # 预览 +![preview](https://counter.rtst.tech) # 新特性 * 使用了异步Web框架`FastAPI`来提高效率 ***注:数据库部分使用了同步*** * 可以自定义显示图片的数量(长度) * 支持API接口以便自行开发 +* 支持MySQL数据库链接 ***表结构sql文件在`src/db/schema/`文件夹内可以找到*** # 失去的特性 -* 只支持`SQLite`数据库 +* 不支持MongoDB # 安装&运行 + ```bash $ pip3 install -r requirements.txt $ uvicorn src:create_app --factory or @@ -23,9 +26,11 @@ $ python3 main.py # 两条命令等价 ``` # 使用 + * 访问`127.0.0.1:8000/` # 单元测试 + * 没有单元测试(没写) # 开源