Video demo:
Source code, Fritzing project, etc: https://github.com/aperepel/iot-esp8266-starter
Short description:
Over time I recognized repeatable patterns and best practices I followed for my projects and wanted to capture those as a starter project. E.g. if you're interested in a connected device which goes beyond blinking an LED and take provisioning/deployment/security and operations seriously.
From this state, use your favorite MQTT library, host the WebServer, POST JSON to your REST API endpoint, etc. All while interacting with the whole gamut of sensors, the usual Arduino way.