realtime chatting application server
python sanic
framework + websocket + Redis(pub/sub) + PostgreSQL(save for user data)
back-end : Python(sanic)
DB : Redis, PostgreSQL
IDE : PyCharm
Python 3.7
- install requirements
pip install -r requirements.txt
- setting .env environment variable
* REDIS_HOST
* REDIS_PORT
* REDIS_POOL_SIZE
* PG_USER
* PG_PASSWORD
* PG_DB
* PG_HOST
- run main.py