Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bearbobs/chat-app
Real Time chat application made with Django (Backend) and React (frontend)
https://github.com/bearbobs/chat-app
backend django frontend hacktoberfest javascript react redis
Last synced: 1 day ago
JSON representation
Real Time chat application made with Django (Backend) and React (frontend)
- Host: GitHub
- URL: https://github.com/bearbobs/chat-app
- Owner: Bearbobs
- Created: 2019-11-21T10:25:28.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T09:50:24.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T00:18:55.277Z (over 1 year ago)
- Topics: backend, django, frontend, hacktoberfest, javascript, react, redis
- Language: JavaScript
- Homepage:
- Size: 1.15 MB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chat Server
Real Time chat application made with Django (Backend) and React (frontend).
Django Channels for API with React and Websockets on the frontend. Redis to implement the publish subscribe pattern.## Requirements
API:* python 3
* pip
* redis-server
Frontend:* npm
## Setup
#### Clone this repository.
* I am on arch thats why I'm using pacman , one can use any package manager.
### Backend
```
$ sudo pacman -S python$ sudo pacman -S redis
$ pip3 install virtualenv
$ cd backend
$ virtualenv venv
$ source venv/bin/activate
$ pip3 install -r requirements.txt
$ python manage.py migrate
$ python manage.py makemigrations
$ redis-server & python3 manage.py runserver
```
### Frontend
```
$ sudo pacman -S npm$ cd frontend
$ npm install
$ npm start
```
## Future Additions
* Login feature using the User model
* Show online users