Skip to content
/ MyChat Public

Real-time chat web app. Make friends and chat with them.

Notifications You must be signed in to change notification settings

ritik33/MyChat

Repository files navigation

MyChat

Real time chat web app. Make friends and chat with them.

Tech Stack

  • Python
  • JavaScript
  • Django
  • Django Channels
  • Bootstrap
  • PostgreSQL

Run Locally

Clone the project

git clone https://github.com/ritik33/MyChat.git

Setup a PostgreSQL instance with the following data

DB NAME: 'MyChat',
USER: 'postgres',
PASSWORD: 'postgres',
HOST: 'localhost',
PORT': '5432'

OR update settings.py file with the following PostgreSQL configuration

DB_NAME = "your postgres db name"
DB_USER = "your postgres db user"
DB_PASSWORD = "your postgres db password"
DB_HOST = "your postgres db host"
DB_PORT = "your postgres port"

Create a virtual environment

pip install virtualenv

virtualenv venv

Activate the virtual environment

venv\scripts\activate

Install dependencies

pip install -r requirements.txt

Apply migrations

python manage.py makemigrations

python manage.py migrate

Start the server

python manage.py runserver

⚠ Development server will start here

Screenshots

register login
profile friend_requests
users chatroom