Create a simple IoT web applicationPage
Showing your data in an application
Last updated
Was this helpful?
Showing your data in an application
Last updated
Was this helpful?
Note that this sample IoT web application is for testing purposes only and not a secure solution for processing data
With this tutorial you will create a simple web application showing a map showing your tracked LoRa data. This runs an in-memory data store, so on restart the store will be reset and all recorded data will be lost. The application runs on
As an optional step the IoT web application can be deployed to Azure Web App.
Get all the files needed for this tutorial at and save these in a local folder
Go to the folder 'c3y' and install: npm i
Build: npm run build
Start server in production mode: npm start
(optional) Seed with dummy data: ./postDummyData.sh
Enable XHR Redirect in your webhook (tested in Firefox & Chrome, does NOT work in Safari):
Target:
Content Type: application/json
HTTP Method: POST
Send a location message using the device simulator.
You should see the location update with the location you have sent via the device simulator.
Log into Azure, where ??? is the tenant ID from Azure Active Directory: az login --tenant ???
Deploy: az webapp up --sku B1 --location westeurope
(takes about 5 minutes)
After deployment the URL is logged
Modify the URL in the HTTPS destination created in Connect a HTTPS destination to the URL returned by Azure CLI:[generated URL]/api/lora
Inspect logs: az webapp log tail
Open [generated URL]
in the browser to see the web app
Go to and click UPDATE.
Install azcli: brew install azure-cli (
()