| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A high-performance, secure, and scalable real-time chat API built with Django. This API allows developers to easily build chat applications that can handle large amounts of messages and users.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
https://github.com/brianobot/Chat.git
pip install pipenv
pipenv shellpipenv install -r requirements.txtpython manage.py runserverThe API has the following endpoints for authentication, messages, and chat rooms:
All chat-message instances are part of a chat-room instance which contains at least two users.
A user can see all chat-room that he is involved in by going the chat endpoint.
View URL - api/v1/chat/
A user can go into and interact with a chat-room by going to the chat-room endpoint
View URL - api/v1/chat/<chat-room-id>/
Once in the chat-room view, a websocket is created for real-time connection with the server and hence the other connected user.
Websocket url - ws/chat/<chat-room-id>/
| Back | FazBrowse Home | New Git URL |