ParentFull threaddavid90·It handles both the saving logic and the pubsub logic. You can view the source in app.js . It took me around 2 hours for this quick project.View on HN