basic chat application, using websockets
- web consumer url: https://ngchat-cbfe2.firebaseapp.com/
- demo url server: https://djchat.herokuapp.com/
- Python 3.7
- Python 3.8
- Python lint flake8 (py3.8)
- Django -> https://www.djangoproject.com/
- Channels -> https://channels.readthedocs.io/en/latest/index.html
- Django-rest-framework -> https://www.django-rest-framework.org/
- black -> https://black.readthedocs.io/en/stable/
- isort -> https://timothycrosley.github.io/isort/
- Pytest -> https://docs.pytest.org/en/latest/
- coverage -> https://coverage.readthedocs.io/en/coverage-5.0.3/
Create a virtual python environment and install libraries with pip
pip install -r requirements.txt
Create all virtual environments (using tox)
tox
Migrate the database
python manage.py migrate
run tests (verify successful installation)
pytest
run tests (verify coverage)
pytest --cov
Run development server
python manage.py runserver
Enter the address
http://localhost:8000