These tutorials will take you through the steps of creating a basic RealityServer® application.
Two streams are provided, Browser and Node.js. Almost all concepts and API components are applicable across both environments so lessons in either stream are applicable to the other. The only exception to this is the RS.Utils.html_image_display function which is typically only applicable in the browser as it depends on the DOM Image element. Additionally, render loops and streams are usually only used in the browser. There is however no technical reason why they could not also be used in a Node.js script. It is recommended to start with the Browser tutorial even if you only plan on creating Node.js scripts as the concepts introduced there are used extensively in the Node.js tutorial as well.
The API is promise based rather than using callbacks. In most cases these tutorials all use
async/await patterns to manage promises however the
.then()/catch() pattern work just as well.