backend sample react js 源码

上传:quality3392 浏览: 20 推荐: 0 文件:ZIP 大小:2.56KB 上传时间:2021-03-28 14:00:48 版权申诉
示例React JS的后端 在带有Flask框架的Python中运行的简单服务。 要求 如何使用 创建一个虚拟环境python3 -m venv venv 激活虚拟环境source venv/bin/activate 安装所有要求pip install -r requirements.txt 运行应用程序 python app.py API规定 API端点在中发布 产生资料 POST / Response: application/json type GenerateDataResponse ={ filename: string, url: string } 获取数据 GET / Response: application/json type GetDataResponse = { count: Object<CountDa
上传资源
用户评论