Modify:README.md

This commit is contained in:
LeonspaceX
2025-10-18 17:50:59 +08:00
parent 245ef74698
commit 6c63e87da7
3 changed files with 98 additions and 3 deletions

View File

@@ -1 +1,94 @@
"# TODO:README" <h3 align="center">
QwQ!!!!!
</h3>
<p align="center">
<span>A simple anonymous post api awa!</span>
</p>
\## 快速开始~
0、Clone本仓库
'git clone https://github.com/Sycamore-Whisper/backend.git'
1、创建一个python虚拟环境
'python -m venv post-api'
激活虚拟环境!
Windows'post-api\\Scripts\\activate'
Linux/MacOS'source post-api/bin/activate'
2、安装依赖
'pip install -r requirements.txt'
3、运行
'python api\_server.py'
后端API已部署完成喵接下来请调用/init接口进行初始化
\## API文档
~~前往{BASE\_URL}/api-docs查看调用方法awa~~
API文档暂时未完成呜呜。
\## License
This project is licensed under the MIT License.

View File

@@ -8,8 +8,6 @@ from flask import send_file
from werkzeug.utils import secure_filename from werkzeug.utils import secure_filename
import os import os
import shutil import shutil
import threading
import time
# === Flask 初始化 === # === Flask 初始化 ===
app = Flask(__name__) app = Flask(__name__)

4
requirements.txt Normal file
View File

@@ -0,0 +1,4 @@
Flask>=2.3.3
Flask-SQLAlchemy>=3.0.5
Flask-CORS>=4.0.0
Werkzeug>=2.3.7