Add FastAPI wechat app: config, wechat handler, run scripts, requirements, env template
This commit is contained in:
1 parent
b193b29e3a
commit
a2185104ad
8 files changed
+249
-7
No files matched your search
@@ -1 +1,23 @@
|
||||
wechat-api
|
||||
# 微信公众号扫码授权服务
|
||||
|
||||
基于 FastAPI 的微信公众号接口服务,支持服务器验证、消息接收与回复。
|
||||
|
||||
## 技术栈
|
||||
|
||||
- FastAPI + Uvicorn
|
||||
- MySQL 8.0
|
||||
- Redis 6.2
|
||||
- Nginx 反向代理
|
||||
|
||||
## 部署
|
||||
|
||||
```bash
|
||||
# 服务器上
|
||||
source venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
python run_server.py
|
||||
```
|
||||
|
||||
## 配置
|
||||
|
||||
复制 `.env.example` 为 `.env`,填入实际值。
|
||||
Reference in new issue
Block a user