{"id":13701377,"url":"https://github.com/danidee10/Chatire","last_synced_at":"2025-05-04T21:30:49.784Z","repository":{"id":28326229,"uuid":"115949475","full_name":"danidee10/Chatire","owner":"danidee10","description":":speech_balloon: Real time Chat application built with Vue, Django, RabbitMQ and uWSGI WebSockets.","archived":false,"fork":false,"pushed_at":"2022-12-07T13:18:02.000Z","size":962,"stargazers_count":357,"open_issues_count":24,"forks_count":119,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-09T22:46:58.054Z","etag":null,"topics":["django","rabbitmq","uwsgi-websocket","vue","websocket"],"latest_commit_sha":null,"homepage":"https://danidee10.github.io/2018/01/01/realtime-django-1.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danidee10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-01T21:33:24.000Z","updated_at":"2025-03-13T18:14:19.000Z","dependencies_parsed_at":"2022-07-27T13:30:57.989Z","dependency_job_id":null,"html_url":"https://github.com/danidee10/Chatire","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danidee10%2FChatire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danidee10%2FChatire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danidee10%2FChatire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danidee10%2FChatire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danidee10","download_url":"https://codeload.github.com/danidee10/Chatire/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252403737,"owners_count":21742428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","rabbitmq","uwsgi-websocket","vue","websocket"],"created_at":"2024-08-02T20:01:33.808Z","updated_at":"2025-05-04T21:30:49.006Z","avatar_url":"https://github.com/danidee10.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"250\" height=\"105\" src=\"chatire-frontend/src/assets/logotype.png\"\u003e\n\u003c/p\u003e\n\n# chatire\n\nReal time Chat application built with Vue, Django, RabbitMQ and ~~uWSGI WebSockets~~ Django channels.\n\n![chatire gif demo](./chatire.gif)\n\nThis repo contains the code for my tutorial **[Realtime django: Build a Chat application with Django, RabbitMQ and Vue.js](https://danidee10.github.io/2018/01/01/realtime-django-1.html)**\n\nThe tutorial is split into several parts:\n\n- Part 1: [Introduction and Setup](https://danidee10.github.io/2018/01/01/realtime-django-1.html)\n- Part 2: [Authentication and User Management](https://danidee10.github.io/2018/01/03/realtime-django-2.html)\n- Part 3: [Build an API with django rest framework](https://danidee10.github.io/2018/01/07/realtime-django-3.html)\n- Part 4 [Plug the Vue frontend to the django API](https://danidee10.github.io/2018/01/10/realtime-django-4.html)\n- Part 5 [uWSGI WebSockets](https://danidee10.github.io/2018/01/13/realtime-django-5.html)\n- Part 6 [Extras](https://danidee10.github.io/2018/03/12/real-time-django-6.html)\n- Part 7 [Switching to Django channels](https://danidee10.github.io/2021/03/22/realtime-django-7.html)\n\n## Running the code\n\n### Vue\n\nNavigate to the `chatire-frontend directory`:\n\n```bash\ncd chatire-frontend\n```\n\nInstall the dependencies from npm:\n\n``` bash\nnpm install\n```\n\nRun the webpack dev server (starts on localhost:8080):\n\n```bash\nnpm run dev\n```\n\n### Django\n\nTo get the Django server running:\n\nInstall the requirements from pip\n\n```bash\npip install -r requirements.txt\n```\n\nRun django's development server (starts on localhost:8000):\n\n```bash\npython manage.py runserver\n```\n\n### RabbitMQ\n\nChatire uses RabbitMQ to bridge the django application and the ~~uWSGI WebSocket server~~. The installation process varies. Check the [docs](https://www.rabbitmq.com/download.html) on how you can install it for your platform.\n\n### WebSocket server\n\n~~Chatire uses `uWSGI` as it's websocket server, if you've already installed the requirements from `requirements.txt` if should already be installed.~~\n\n~~You can start it with~~\n\n```bash\nuwsgi --http :8081 --gevent 100 --module websocket --gevent-monkey-patch --master\n```\n\n~~This starts uwsgi with 100 gevent (greenlet) threads. You can increase it if you want to.~~\n\nYou can start the channels local server with:\n\n```bash\npython manage.py runserver 8081\n```\n\n\n# Acknowledgements\n\nThanks to [@inhit](https://github.com/ihtiht) for the Logo!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanidee10%2FChatire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanidee10%2FChatire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanidee10%2FChatire/lists"}