Skip to content
/ c3y Public

Map to show tracked lora data for KPN IoT workshop

License

Notifications You must be signed in to change notification settings

code-star/c3y

Repository files navigation

c3y

Tiny Asset Tracker

Map to show tracked lora data for KPN IoT workshop

Runs an in-memory data store, so on restart the store will be reset and all recorded data will be lost.

Can be deployed to Azure Web App.

Runs on Next.JS

Running

  1. install: npm i
  2. build: npm run build
  3. start server in production mode: npm start
  4. (optional) seed with dummy data: ./postDummyData.sh

Forward data from KPN Things to this app, running on localhost:

  • KPN Things: set up a flow
  • KPN Things: set destination HTTPS endpoint with https://webhook.site
  • webhook.site (Tested in Firefox & Chrome, does NOT work in Safari): enable XHR Redirect

Deploy on Azure:

  • install azcli: brew install azure-cli
  • 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
  • KPN Things: set destination HTTPS endpoint with [generated URL]/api/lora
  • inspect logs: az webapp log tail
  • open [generated URL] in the browser to see the web app

Development

  • npm run dev

About

Map to show tracked lora data for KPN IoT workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published