Milestones
Contributions
Changes
- Changed configuration of service workers to operate them them in both development and production mode instead of only production mode.
- Changed pre-exiting lock-asset API to add a list of waiting users as a queue in cache.
- Added push notification feature in lock-asset API to inform waiting users when the asset is available.
- Changed the push notification feature to generate notifications without saving them in the database for convienience.
Commits
Learnings
- Learnt how to use
webpush
notifications in django. - Learnt how to use
shared_tasks
with celery. - Learnt about receing
push
and message
events using eventListener
in service workers.