If you were looking for the Hrbr.io Hello World, you've found it.
You will need to do a couple things before you can run the code.
Sign up for your Hrbr.io account. Signing up is free.
- Make a note of your API Key.
While you are still on the site, go ahead and create an Application w/ a Beacon.
-
Create your first Application and make note of the Application Id.
appVersionId
's use a naming convention similar to a lot of bundle/docker ids which is a combination of RDNS and semantic versioning. Example: io.coolcompany.helloworld:1.0.0 -
Within that application, create your first Beacon and make note of the Beacon Id.
beaconVersionId
's use a naming convention similar to a lot of bundle/docker ids which is a combination of RDNS and semantic versioning. Example: io.coolcompany.helloworld:1.0.0
-
Clone the repository.
$ git clone https://github.com/HrbrIO/HelloWorld.git $ cd HelloWorld
-
Install dependencies.
If you are using npm, run:
$ npm update
Or, if you are using yarn, run:
$ yarn
-
Update the code.
Open
index.js
and replace API_KEY, APP_VERSION_ID, & BEACON_VERSION_ID with the values you entered while creating your Application & Beacon on https://cloud.hrbr.io
$ node index.js
If all is good, then you should see.
After our request
Success
1
To see the Beacons on Hrbr.io go to your Applications and click the link for your developer console. Once you have your console up and running, rerun the code from above to see your Beacons.
You are on your way to full application observation using Hrbr.io. If you are trying to figure out where to go next, try out the Quick Start where you can add Views or Foghorns.