Skip to content

xyzones/flask-rethinkdb-chat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-rethinkdb-chat

Of all the example projects on the rethinkdb site (https://www.rethinkdb.com/docs/examples/) the only one that showed a good use case of changefeeds was the CatThink project (https://www.rethinkdb.com/blog/cats-of-instagram/) which was written in JavaScript. There are some good example python projects but no one is using a changefeed in the python projects. I wanted to see if I could make a nice chat app with python socket-io and of course rethinkdb. This is the result.

The project has been set up to work with docker/docker-compose so in order to run the project just run docker-compose build then docker-compose up. You will notice an error from the web container. Just open a shell in the container and open up the python terminal from there and run: from main import init_db and then init_db(). Restart the containers and then you should be good to go!

Demo:

About

A simple flask/rethinkdb/sockets realtime chat app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 51.7%
  • Python 48.3%