Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomoncle/flaskapp
Building web project framework with flask. Modular design, supporting data migration, banner, interceptor, exception handling, JSON transformation, swagger, celery, flask configuration expansion, etc.
https://github.com/tomoncle/flaskapp
dockerfile flask flask-api flask-application flask-restful flask-sqlalchemy migrate mysql python27 sqlite3 swagger
Last synced: 1 day ago
JSON representation
Building web project framework with flask. Modular design, supporting data migration, banner, interceptor, exception handling, JSON transformation, swagger, celery, flask configuration expansion, etc.
- Host: GitHub
- URL: https://github.com/tomoncle/flaskapp
- Owner: tomoncle
- License: mit
- Created: 2018-07-10T15:28:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-23T21:50:04.000Z (29 days ago)
- Last Synced: 2025-01-15T22:20:22.347Z (6 days ago)
- Topics: dockerfile, flask, flask-api, flask-application, flask-restful, flask-sqlalchemy, migrate, mysql, python27, sqlite3, swagger
- Language: Python
- Homepage:
- Size: 114 KB
- Stars: 49
- Watchers: 4
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flask Application
[![Build Status](https://api.travis-ci.org/tomoncle/flaskapp.svg?branch=master)][travis]
* Python Version: >=3.7 (flask-2.2.2 required)
* 拓展flask支持banner, 支持config.properties配置文件导入
* 模块化设计,支持数据库迁移
* 封装sqlalchemy数据库操作
* 自动转json
* 配置拦截器,异常自动解析(web请求返回错误页面,curl请求返回错误json)
* 拓展flask内置函数,支持环境变量
* 集成celery框架异步处理
* 支持docker构建
* flask jinja2模板示例
* swagger api文档配置
* 等等## Others
* 数据库更新迁移
```bash
$ flask db init
$ flask db migrate
$ flask db upgrade
```* Dockerfile 构建
```bash
$ ./docker-build.sh
```* celery异步处理
* swagger配置## Authors
* [tomoncle](https://github.com/tomoncle)
* 源码地址:https://github.com/tomoncle/flaskapp[travis]: https://travis-ci.org/tomoncle/flaskapp