Skip to content

Maple0905/Chat-Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat-backend

Backend for Android ChatApp - written using Python Django.

Built With

  • Django: A high-level Python Web framework
  • Django REST framework: A powerful and flexible toolkit for building Web APIs
  • Django Channels: A project that takes Django and extends its abilities beyond HTTP - WebSockets, chat protocols, IoT protocols, etc.
  • django-rest-auth: A set of REST API endpoints to handle User Registration and Authentication tasks
  • django-friendship: Django app to manage following and bi-directional friendships
  • Firebase Admin SDK: Lets you interact with Firebase from privileged environments (used for Firebase Cloud Messaging)

Usage

Clone the repository and setup your environment:

pip install django
pip install djangorestframework
pip install markdown
pip install django-filter
pip install channels
pip install channels_redis
pip install django-rest-auth
pip install django-allauth
pip install django-friendship
pip install firebase-admin

You will also need to follow the instructions to Add the Firebase Admin SDK to Your Server. Once you have the JSON file provided by Firebase containing your service account's credentials, add it to the root folder of chat-backend as chatappAccountKey.json.

Run the following two commands to start the server and its workers:

python manage.py runserver
python manage.py runworker realtime-event-sender

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published