fcm-django-web-demo:快速演示演示如何使用 firebase web 推送通知,前端使用 `javascript`,后端使用 `django`,并通过 django 的 `fcm-django` pypi 包推送通知

时间:2021-07-24 09:56:21
【文件属性】:
文件名称:fcm-django-web-demo:快速演示演示如何使用 firebase web 推送通知,前端使用 `javascript`,后端使用 `django`,并通过 django 的 `fcm-django` pypi 包推送通知
文件大小:20KB
文件格式:ZIP
更新时间:2021-07-24 09:56:21
notifications django push-notifications web-push-notification firebase-web fcm-django-web-demo 快速演示,演示如何在前端使用javascript 、后端使用django以及通过fcm-django pypi 包推送通知来使用 firebase 网络推送通知。 仅兼容 Python3! 快速开始 先决条件 安装python 3,pip 在fcm-django-web-demo : 使用python -m venv env创建虚拟环境 激活虚拟环境. env/bin/activate . env/bin/activate或.\env\Scripts\activate.ps1用于 Windows 的 Powershell 使用pip install -r mysite/requirements.txt安装必要的 Python 包 前端 在fcm-django-web-demo/frontend : 使用python -m http.serve
【文件预览】:
fcm-django-web-demo-master
----frontend()
--------manifest.json(188B)
--------index.html(11KB)
--------firebase-logo.png(3KB)
--------server.py(1KB)
--------README.md(3KB)
--------main.css(1KB)
--------firebase-messaging-sw.js(1KB)
----README.md(3KB)
----.gitignore(54B)
----mysite()
--------credentials.json(2KB)
--------manage.py(804B)
--------requirements.txt(138B)
--------.gitignore(362B)
--------mysite()

网友评论