Skip to content
 
 

Repository files navigation

Django Social Network

A social media web-application with Django.

Features :

  • Sign Up, Login, OAuth 2.0(Google, Github), Logout, Forgot Password
  • Public Profile view
  • Create, Edit, Delete Posts with customized text, pictures and links
  • Like, Comment / Reply, Save and Search posts
  • Follow and Unfollow users to view their posts
  • Friend Request
  • Notifications
  • Chats using websockets
  • Video Calls
  • Installation

    Ensure you're running Python 3.11+

    Adding env variables

    Add django-allauth config

    https://django-allauth.readthedocs.io/en/latest/installation.html#post-installation

    Run commands to stand up the server

        $ sudo apt-get install build-essential autoconf libtool libffi-dev pkg-config python3-dev python3-setuptools python3-testresources
        $ python -m venv venv
        $ source venv/bin/activate
        (venv) pip install -r requirements.txt
        (venv) python manage.py makemigrations
        (venv) python manage.py migrate
        (venv) python manage.py createsuperuser
        (venv) python manage.py collectstatic
        (venv) python manage.py runserver

    Accessory instructions

    • To use other DB edit this settings.py#L107
    • To use other providers edit this settings.py#L205
    • To use redis instead edit this settings.py#L197

    Running Tests

    To run tests, run the following command

      python manage.py test

    Deploy to Heroku

    https://devcenter.heroku.com/articles/getting-started-with-python

    https://realpython.com/django-hosting-on-heroku/

    About

    A Social Media Web-Application with Chat and Video Call functionality, made with Django.

    Resources

    Stars

    2 stars

    Watchers

    1 watching

    Forks

    Releases

    Packages

    Contributors

    Languages