https://github.com/meanstrong/flask-backend-api-example
基于Flask的后端API示例代码
https://github.com/meanstrong/flask-backend-api-example
backend-api flask python3
Last synced: 2 months ago
JSON representation
基于Flask的后端API示例代码
- Host: GitHub
- URL: https://github.com/meanstrong/flask-backend-api-example
- Owner: meanstrong
- License: gpl-3.0
- Created: 2021-02-10T17:35:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-18T03:41:23.000Z (over 5 years ago)
- Last Synced: 2025-05-27T11:06:44.360Z (about 1 year ago)
- Topics: backend-api, flask, python3
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flask-backend-api-example - 基于Flask的后端API示例
## About
基于Flask的后端API示例代码。
## Usage
修改`web/config.py`文件中的相关配置项,执行`python app.py`启动应用。
## Struct
整体的代码调用结构:
app -> controller(API路由) -> resource(资源操作) -> service(原子操作) -> model(数据表定义)