He is a collection of Libraries that I use with NodeMCU.

WiFi

WebServer

How to write your own library

https://www.arduino.cc/en/Hacking/LibraryTutorial