There are many such videos out there on YouTube bu most of the people have used Relay module instead of only relay do you know the reason why?
Because it’s little tricky to use relay directly with esp8266 board.But not to worry now, I have solved the problem and made tutorial videos for this problem. I have used relay with esp8266 board and some electronic components and successfully controlled relay with it.
Watch out the video to know everything in detail.
I have also made the same tutorial in HINDI language
I’m attaching some circuit diagrams here (which are already attached in both the videos) in case you want to download them.