Functional state of the cardiovascular system is an important factor for human physical well-being. To perform analysis of the cardiovascular state, the wearable continuous ECG monitoring system is essential. In this paper, a wearable ECG monitoring system based on IoT is proposed. The systems architecture is presented. Wearable devices design employs few optimal components for the acquisition of acceptable ECG signal. The R peaks corresponding to each heartbeat, and T waves, a morphological feature of the ECG are detected. It enables to perform heart rate and heart rate variability analyses, as well as extract, store and analyze the long term ECG measurements.