A step-by-step guide to build a real-time dashboard