P2P CHAT 💬 💬
This is the official repo for a real time peer to peer messaging application. The application was built using Django for the backend API and React for the frontend. The backend API exposes endpoints for connecting to web socket consumers and for user authentication. The frontend provides an easy to navigate interface to demo the application.
To run code from this repository follow the instructions below:
-
Start the backend server:
-
cd into the backend directory
-
Build and start docker container using => docker-compose up --build
-
-
On a different terminal window, start the frontend server:
-
cd into the frontend directory
-
Build and start docker container using => docker-compose up --build
-
-
On a web browser, navigate to http://localhost:3000/
-
Register a user and Login
-
Repeat the process on another window
-
Create a room and share the room name with your peer. Multiple peers can also communicate in one room.
-
Enjoy your real time peer to peer messaging between the peers.
-
Other frontend urls:
-
http://localhost:3000/login => user login
-
http://localhost:3000/room => create room
-
http://localhost:3000/chat => chat room
-
-
REGARDS!!!!!!! 😊 😊 😊