An IoT project demonstrating how we can control appliances (LEDs) connected to an NodeMCU (ESP8266) device over the internet using a MEAN stack web application.
On this page, you can control the LED’s connected to the Node MCU.
git clone https://github.com/KaranJagtiani/IoT-Application-using-MEAN-Stack.git
npm install
Add your broker service credentials in “app.js” and “nodemcu_sketch” files.
Few free MQTT broker services - Shiftr, Hive MQ, Mosquitto.
Make sure you have an active internet connection, and add your WiFi credentials in “nodemcu_sketch” file.
Upload “nodemcu_sketch” to your Node MCU.
Make sure MongoDB is running:
mongod
node app.js
http://localhost:3000/