Skip to content

HrbrIO/HelloWorld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hrbr.io Hello World

If you were looking for the Hrbr.io Hello World, you've found it.

Instructions

You will need to do a couple things before you can run the code.

Create an Account

Sign up for your Hrbr.io account. Signing up is free.

  • Make a note of your API Key.

Create an Application w/ a Beacon

While you are still on the site, go ahead and create an Application w/ a Beacon.

  1. 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

  2. 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

Working With the Sample Code

  • 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

Run the Sample Code

$ node index.js

If all is good, then you should see.

After our request
Success
1

See Your Beacons

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.

developer console


developer view

Next Steps

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.

About

Hrbr.io hello world application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published