基于 python3.6+ django2.1.5的后台模板
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_product
db
media
rest_backend
templates/admin
.gitignore
Dockerfile
LICENSE
README.md
docker-compose.yml
manage.py
requirements.txt

README.md

rest_backend

后台api接口模板

admin管理页

admin

swagger-ui页

swagger

基础依赖

  • python3.6+

  • django2.1.5

初始化

git clone https://github.com/wuyue92tree/rest_backend.git

cd rest_backend

pip install -r requirements.txt

python manage.py migrate

python manage.py createsuperuser

python manage.py runserver

启动

浏览器访问: http://127.0.0.1:8000/api/docs/

docker部署上线

git clone https://github.com/wuyue92tree/rest_backend.git

cd rest_backend

docker-compose up

FAQ

说明文档