This is a messenger web app written in Python/Django. It's My first Django project!
A live demo is available at msgr.pythonanywhere.com.
It has the basic features expected from a minimum messenger app:
- One-to-one messaging
- Group chats (coming soon!)
- Real-time chat
- Personal profile with biography and unique ID
- Profile pictures and thumbnails
- Search for users based on their full names and IDs
- Message delete
- Message seen status check marks
- Unread messages counter
- Saved messages chat
First, as usual, you need to clone the project and install the requirements.
Then you have to set up the settings. They are located at project/settings. There are different setting files there.
You have to choose one of the development or production settings, depending on the situation. You can do that by setting the DJANGO_SETTINGS_MODULE environment variable.
In addition to these setting files, you need to create another one named "private.py" in the settings folder. This file is for sensitive settings of your particular Django installation. It should include:
- SECRET_KEY: A long, unique, and unpredictable value. You can learn how to generate one here.
- DATABASES: You should create your database and add its settings here.
- ALLOWED_HOSTS: This isn't necessary for development, but in production, you have to list your domain names.
- TIME_ZONE: Additionally, you can set your time zone here.