Skip to content

wuyue92tree/rest_backend

Repository files navigation

rest_backend

后台api接口模板

admin管理页

admin

swagger-ui页

swagger

基础依赖

  • python3.6+

  • django2.2

初始化

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

启动

后台地址:https://127.0.0.1:8000/

API地址: https://127.0.0.1:8000/api/docs/

docker部署上线

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

cd rest_backend

docker build -t rest_backend .

docker run -tid -v <your-log-path>:/data/src/log -p 80:80 rest_backend

demo

https://django-demo.antio.top/

捐赠

   title