I made the connections as below. I am using bare ESP-12e module but it if you want to use it with NodeMCU I have noted the corresponding pins.
And here is the code that prints 3 keywords of this tutorial in different colours:
You can find this repository below. I automating my tasks with uglify and npm and you might find it useful too.