- Python Version:
3.8.10
This is a minimalistic chat application built with redis, django channels.
When a docker services are composed up, it create a two separate user with following credentials:
web-backend | User1 Credentials
------------------------------------------------------------------------------------------------------------------------------------------------------
web-backend | {'username': 'user1', 'email': '[email protected]', 'password': 'thepassword', 'is_staff': True, 'is_superuser': True
------------------------------------------------------------------------------------------------------------------------------------------------------
web-backend | User2 Credentials
------------------------------------------------------------------------------------------------------------------------------------------------------
web-backend | {'username': 'user2', 'email': '[email protected]', 'password': 'thepassword', 'is_staff': True, 'is_superuser': True}
------------------------------------------------------------------------------------------------------------------------------------------------------
Basically, user is logged in through the admin panel, as they are both a superuser. So, users are authenticated through django admin panel at:
http://localhost:8000/admin
To open up a chat window, navigate to:
http://localhost:8000/rooms/1
1 here is the room id and is associated with the two user groups on chat channel.