This is a simple chat web app that includes group and one-to-one chat; I relate the terminologies with that of blockchain i call group chat as blocks, because a block in blockchain contains series of transaction so also we've series of chat in block in this web app -- EDFolmi.
Here's why:
- To have a practical understanding of websockets.
- Curious to know how chat apps works
- I love coding! 😄
I will add more features and AI technology to this project!
This section include list of major frameworks/libraries used to bootstrap this project.
- Django Framework
- Django Rest Framework
- Javascript Websocket
- Django channels
- Django-redis
- Redis Tool
- HTML
- CSS
This is an example of how you will set up this project locally. To get a local copy up and running follow these simple example steps.
You need to utilize redis tool as message broker, you can simply get redis tool in docker.
- Install docker desktop.
- run redis from the terminal.
- docker
docker run --name some-redis -d redis
_Below is an example of how you can set up this app.
- Clone the repo
git clone https://github.com/edfolmi/candlechat.git
- Install Django packages
pip install -r requirements.txt
- Create a .env file in projects folder, Enter your SECRET KEY in
.envSECRET_KEY=<ENTER YOUR API>;
- Run Django project
python manage.py runserver