这是一个flask基础框架,由于python之前只是写一些零散的脚本 刚好使用python构建一个项目脚手架

1. 需要哪些功能

  • flask
  • blueprint
  • cros
  • output json format
  • easy debugging
  • health page
  • logging
  • multiple env support
  • flake8 for static code checking
  • yapf for code formatting
  • jwt token
  • crypt password
  • mysql
  • sphinx
  • postman
  • test
  • xss attack(orm and escape)
  • parameter integrity-sha1 (avoid middle man attack)
  • timestamp validate(replay attack, doc attack)