- Vue
- Python 3.6, 3.7 and 3.8
- Django 1.11, 2.1, 2.2 and 3.0
- Django Rest Framework 3.9, 3.10 and 3.11
- 使用最新的django-rest-framework-simplejwt代替django-rest-framework-jwt,由于原作者已不再维护该项目。
- 加入腾讯云短信发送相关代码
- 配合django-rest-framework-simplejwt修复第三方登录时,用户前端显示bug。
- 修复alipay密钥存储格式导致的Incorrect padding问题
- 修复热门搜索接口
- 修复部分前端问题。
项目视频与原版文件: 链接:https://pan.baidu.com/s/1elQ0DJ-b0hB6W4ihJcK3mQ 密码:ndzt
前端:http://35.172.134.69:8000/index/ 后端:http://35.172.134.69:8000/
国内:
-
node.js https://nodejs.org/
-
cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
- 更改./src/api/api.js里的接口地址
let local_host = 'http://127.0.0.1:8000';
- 运行
cnpm run dev
国外:
-
node.js https://nodejs.org/
-
安装依赖
npm install
- 运行
npm run dev
Django3.0: https://docs.djangoproject.com/zh-hans/3.0/
Django REST framework: https://www.django-rest-framework.org/
DRF-extensions: http://chibisov.github.io/drf-extensions/docs/
django-rest-framework-simplejwt: https://github.com/davesque/django-rest-framework-simplejwt
django-social-auth: https://github.com/omab/django-social-auth
xadmin: https://xadmin.readthedocs.io/en/docs-chinese/
支付宝沙箱:https://openhome.alipay.com/platform/appDaily.htm
腾讯云发送短信API: https://cloud.tencent.com/document/api/382/38778
django-redis 中文文档: https://django-redis-chs.readthedocs.io/zh_CN/latest/#
Python Social Auth: https://python-social-auth.readthedocs.io/en/latest/
redis数据库安装参考: https://www.jianshu.com/p/035be70daf2d