These are code samples to accompany the blog published here: Yown it
These snippets are taken from a fully functional production system (The actual system is not provided). To use them, you should setup your own architecture, you will require:
AWS Websocket API
AWS Dynamo DB
React