【文件属性】:
文件名称:zhihu:django + vue 仿知乎
文件大小:198KB
文件格式:ZIP
更新时间:2021-05-04 19:12:13
django django-rest-framework vue2 Python
Django 仿知乎
简介
项目采用前后端分离开发模式。
后端主要采用Django-rest-framework开发来提供API,配合corsheaders、django_filters分别实现跨域、过滤功能。前端采用基于Vue的服务端渲染框架Nuxt进行开发。
在线预览
以 nginx + uwsgi 进行部署,未做移动端适配。
测试账号:
username:
password: asd123
运行方式
First, clone the repo and install the dependencies.
$ https://github.com/Caoyiii/django-vue-blog.git
# django dependencies.
$ cd django-vue-blog/backend/
$ pip install -r requirements.txt
# vue