Skip to content

izhirov/tornado-redis-angular-chat

Repository files navigation

tornado-redis-angular-chat

Dependencies

  • Tornado
  • Angular
  • Redis
  • Tornado-redis
  • wtfforms-tornado
  • pyjwt
  • pewee
  • Python 3.5

In this example use sqlite to save users in database. You can change it in application.py

  • db = SqliteDatabase('chat.db')

Workflow:

  • User can auth or register
  • Server will return him his data with generated JWT with 'HS256' algorithm
  • With this token user can connect to chat and users websockets
  • Server will validate token

To start application use should:

  • pip install -r requirements.txt
  • Start redis server on standart 6379 port
  • python application.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published