https://www.postscapes.com/smart-outlets/
https://www.hackster.io/daniel0524/buil ... let-cf3d0c
https://medium.com/@monkeytypewritr/ama ... 2076daafa5
https://www.hackster.io/mcmchris/wifi-s ... 266-f97f52
Just Google either "build wifi controlled outlet" or "esp8266 wifi switch" and you will find dozens more that also include packaging and power supply ideas.
Check out Amazon or e-Bay and you will find exactly what you are planning ranging from $5.00 to $20.00, but that, of course, isn't as challenging, as time consuming or as much fun.
Also, the NodeMCU ESP8266 has a built-in serial to USB converter that you are going to need.