It uses Tornado WebSocketHandler to open a communication channel between the client and the server.
To manage notifications it uses RequestHandler.
localhost:8888/notification?id=1&message=notification_message
python3 test/handlers_test.py
- Build
docker build -t school_tornado .
- Run
docker run -d -p 8888:8888 -e API_VALIDATION_IP='API_IP' -e API_VALIDATION_PORT=API_PORT --name=school school_tornado