【文件属性】:
文件名称:django-react-chat:使用Django和React的简单聊天室
文件大小:3.16MB
文件格式:ZIP
更新时间:2021-02-22 11:37:23
react chat django postgresql django-channels
使用Django和React创建的聊天室
使用以下内容进行简单聊天:
Django + Django频道
React
PostgreSQL
安装
克隆项目:
git clone https://github.com/dev-yaroslav-b/django-react-chat.git
要运行后端:
更改目录:
cd backend/
并运行:
docker-compose up
要运行前端:
更改目录:
cd frontend/
并运行:
npm i
npm start
TDB:
Dockerize一个React App
编写单元测试
【文件预览】:
django-react-chat-master
----frontend()
--------config()
--------package.json(3KB)
--------package-lock.json(457KB)
--------src()
--------public()
--------yarn.lock(256KB)
--------scripts()
----.gitignore(875B)
----README.md(460B)
----backend()
--------Dockerfile(145B)
--------chat()
--------requirements.txt(70B)
--------docker-compose.yml(309B)
--------manage.py(624B)