/sanic-chatting-project

realtime chatting server with Sanic

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

sanic-chatapp-toy-project

realtime chatting application server
python sanic framework + websocket + Redis(pub/sub) + PostgreSQL(save for user data)

Skills

back-end : Python(sanic)
DB : Redis, PostgreSQL
IDE : PyCharm

Doc

API Doc

require

Python 3.7

How to run?

  1. install requirements
pip install -r requirements.txt
  1. setting .env environment variable
* REDIS_HOST
* REDIS_PORT
* REDIS_POOL_SIZE
* PG_USER
* PG_PASSWORD
* PG_DB
* PG_HOST
  1. run main.py