This is my personal starter template to get into fresh 8266 module. Firmware binary is acquired from http://nodemcu-build.com/, use it with your own risk.
1- Prerequisites
- NodeMCU ESP8266
- Esptool.py
- NodeJS
- Firmware (Optional)
2- Clone
git clone https://github.com/dorukolcmener/Nodemcu-8266-Starter.git
3- Open with your favourite IDE
code Nodemcu-8266-Starter
4- Intall npm package
npm install
5- Connect the board to your computer via USB port and intall the firmware to the board
npm run flash-fw
4- Compile and run the code on the IoT card.
npm run uc