As a hobbyist and DIY guy, I always look around for new ways to go further when coding arduino boards, ESP class devices or any other modules. And I found a very interesting one: LowJS.
Here’s the introduction text the given site will provide you:
With low.js you can build scalable Internet-native electronics applications (IoT) easily and fast.
Other solutions exist of course. The famous Johnny-Five allows to do the same. But this one is mainly dedicated to ESP32 modules. It makes me very enthusiastic and I only recommend this one. Give it a try and do not hesitate to comment this article or to tweet it #lowjs.