Building a "Hello World" Element

There is probably nothing more common in the world of programming than the time honored tradition of "Hello World" examples, using the simplest possible problem to introduce someone to a new language, library, or tool.

While neither "hello" nor "world", appears anywhere in the ipify example element (https://github.com/CloudElementsOpenLabs/elements/tree/master/ipify) from our elements GitHub repository, nonetheless, it serves the same purpose by being the simplest possible (if you come up with a simpler one, please let me know).

Since elements are essentially adapters for existing APIs, this one needed a similarly minimalist API. ipify is about as simple as they come. A single endpoint that needs no authentication and just a single query parameter. This gives us an opportunity to build the perfect example of what is essential to building a new element in Cloud Elements.

Follow the instructions here to get started.