Code Monkey home page Code Monkey logo

real-time-chat-app's Introduction

Web Chat App - v1.0.0: Initial version

This is a Web Real-Time Chat Application built using Django and Websockets with Partial End-to-End Encryption

Requirements

  • Python 3

Installation

Clone the repository

git clone https://github.com/Anand-ReddyK/Real-Time-Chat-App.git

Create a Virtual Environment with Python and activate it

python -m venv venv
.\venv\Scripts\activate

Go inside the Cloned Repo and install the modules inside requirements.txt

cd Real-Time-Chat-App
pip install -r requirements.txt

Now the setup is complete, to run the project first make migrations

python manage.py makemigrations
python manage.py migrate

This will create a DataBase file db.sqlite3

To run the Project

python manage.py runserver

Open another terminal and run the socket_server.py file inside Real-Time-Chat-App\chat

python .\socket_server.py

open the link http://127.0.0.1:8000/ in your browser

Installation with Docker

Clone the repository

git clone https://github.com/Anand-ReddyK/Real-Time-Chat-App.git

Navigate to the root directory where the Dockerfile exists

Create a Docker image

docker build -t chat-app:1.0 .

Run the container using the newly created Docker image chat-app:1.0

docker run -p 8000:8000 -p 8001:8001 chat-app:1.0

open the link http://127.0.0.1:8000/ in your browser

real-time-chat-app's People

Contributors

anand-reddyk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.