This is a scaffold based on the flask framework, including common plugins, such as redis, mongodb, mysql, jwt.
Your project can be developed based on this scaffold.
In the future, i will continue to improve this scaffold, any person who interested in can join me to perfect this scaffold
-
git clone https://github.com/syz247179876/Flask-Start.git
-
pip install -r requirements.txt
-
developing and enjoy yourself
Now the following plugin liberay that this scaffold support:
-
Support Redis
-
Support Mongodb
-
Support Mysql
-
Support Celery and Celery-Beat
-
Support Aliyun Short Message
-
Support Hash encryption
-
Support Jwt
-
Support Nginx Config
-
Support Gunicon Config
-
Support Supervisord Config to manage above progresses
-
Support OSS
Please go to official website to download Redis, Mongodb
python -m wsgi
or python manage.py runserver
root:[/home/syz/FlaskLearning/Flask-Start]
+--tree.py
+--requirements.txt
+--wsgi.py
+--tests
| +--__init__.py
+--depoly
| +--supervisord_flask
| +--nginx.conf
| +--gunicorn.conf
+--application
| +--urls
| | +--__init__.py
| | +--user_urls.py
| +--tasks
| | +--__init__.py
| | +--send_code.py
| +--__init__.py
| +--signals
| | +--__init__.py
| | +--default_handle.py
| | +--signal.py
| +--utils
| | +--qq_oauth.py
| | +--__init__.py
| | +--api_permission.py
| | +--exception.py
| | +--success_code.py
| | +--json.py
| | +--fields.py
| +--models
| | +--__init__.py
| +--api
| | +--__init__.py
+--extensions
| +--__init__.py
| +--hasher.py
| +--oss.py
| +--sms.py
| +--extensions.py
| +--celery_app.py
| +--crypto.py
| +--database.py
| +--redis.py
+--logs
| +--log-40
+--README_CN.md
+--README.md
+--configs
| +--__init__.py
| +--testing.py
| +--default.py
| +--development.py
| +--production.py
+--log.py
+--manage.py