Background
When I built a Django project which has some PWA features, I found many online resources are outdated, and some are not easy for Django developers to understand.
So I decide to help people with this Django PWA Tutorial Series
, it contains 7 blog posts and one open source project on Github.
Objectives
By the end of this course, you will be able to:
- Understand what is
Web app manifest
and how to generate app icons using NPM package. - Learn how to use
python-webpack-boilerplate
to make Webpack work with Django. - Understand what is
Service Worker
, and the life cycle. - Learn to develop
Service Worker
withWorkbox
packages. - Serve
Service Worker
in Django. - Use
Service worker
to cache the offline page, and return cached response when network is not available. - Learn how to use
workbox-precaching
to precache static assets. - Rewrite the fallback logic with
workbox-routing
. - Understand what is
caching strategy
- Learn how to make PWA installable.
- Learn the workflow of the
Web Push Notification
- Understand what is
VAPID
and how to set it up. - Use
django-push-notifications
to store the subscription info and send push message on server side. - Learn to use
Push API
and handlepush
event in Service worker.
Tech
- Django
- django-push-notifications
- python-webpack-boilerplate
- workbox-webpack-plugin
You can check Django PWA Tutorial to learn more about this tutorial series.
Thx.