a restful api, with a swagger example, and a sqlalchemy example
- manage.py
- log
- runserver.sh #sh runserver.sh
- test.db #database for test
- config.py #config
- lib
- __init__.py
- flask_mysql.py #extension for sqlalchemy
- requirements.txt
- app
- __init__.py #create and initialize flask app
- errors.py #customize error class
- utils.py #util tools for restful api(response reformater, exception handling, db session)
- meta.py #single instance of some extension
- models.py #models for function logic
- static
- favicon.ico #favicon for swagger
- apis
- __init__.py
- auth.py #password and token
- resources.py #a simple api example
- resources_v2.py #a simple api example with swagger support
Thanks for Flask-RESTPlus project!