The main goal is to have fun, to reinforce the skills on the channels library and to remember the core Django features like templates, generic views etc. (Yes, I have been developing with DRF for a long time as a part of my job.)
You can register to the system, log in and create new tasks with assigned users. Afterwards, you can receive instant notifications via the web socket every time the task is updated via the notifier of the task you created, the person who will work on it or the watchers.
docker-compose up -d
Or you can manuel setup. Creating .env file, loading dependencies, starting redis on the relevant port, etc.
pip install -r requirements.txt
cd app/
python manage.py migrate
python manage.py runserver
Visit localhost:8000/users/login/.
docker-compose exec web python manage.py random_data -up normal -sp staff -p password123
python manage.py random_data -up normal -sp staff -p password123
The -up option provides a username prefix for regular users to be generated. For example, if -up is specified as custom, users will be generated as custom_1, custom_2.
-sp allows you to specify a prefix for staff users. -p determines the password that all users will use.
- write test (who needs :P)
- save notifications on the database.
- better ui.
- write blog post about channels, and websockets.