Skip to content

Building web project framework with flask. Modular design, supporting data migration, banner, interceptor, exception handling, JSON transformation, swagger, celery, flask configuration expansion, etc.

License

Notifications You must be signed in to change notification settings

tomoncle/flaskapp

Repository files navigation

Flask Application

Build Status

  • 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

  • 数据库更新迁移
$ flask db init
$ flask db migrate
$ flask db upgrade
  • Dockerfile 构建
$ ./docker-build.sh
  • celery异步处理
  • swagger配置

Authors

About

Building web project framework with flask. Modular design, supporting data migration, banner, interceptor, exception handling, JSON transformation, swagger, celery, flask configuration expansion, etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages