Build a fast simple maintainable realtime application using (ES6, NodeJS, RethinkDB, React and Socket.io)
#1 - install db
sudo apt-get install -y rethinkdb python-pip curl
sudo pip install rethinkdb (python driver for importing table andsample data)
#2 - dependencies
npm install
#3 - run
npm run-script rundb
npm run-script build
npm run-script start
#4 - play
Open http://localhost:3000/static
Then add an article :
curl --data "title=title&content=content&link=it.works" http://localhost:3000/articles/add
New contents will appears on the top of the list, try it synchronously over multiple browsers.