Skip to content
/ msgr Public

A simple web based messenger built with Django.

License

Notifications You must be signed in to change notification settings

taajik/msgr

Repository files navigation

msgr

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.

Some Screenshots: Screenshots of the app

Features

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

Installation

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:

  1. SECRET_KEY: A long, unique, and unpredictable value. You can learn how to generate one here.
  2. DATABASES: You should create your database and add its settings here.
  3. ALLOWED_HOSTS: This isn't necessary for development, but in production, you have to list your domain names.
  4. TIME_ZONE: Additionally, you can set your time zone here.