To create Marble app instance, we can use , which is a wrapper around Node.js server creator with much more possibilities and goods inside. When created, it won't automatically start listening to given port and hostname until you call its awaited instance.
To see Marble.js in action you can visit usage of available module for a complete Marble.js app example.
We'll use in the documentation but you can always write Marble apps in standard JavaScript (and any other language that transpiles to JavaScript).
Finally test your "functional" server by visiting
For more API specific details about server bootstrapping, visit API reference
In the next HTTP chapter you will learn how to create basic Marble.js endpoints using , how to build and compose middlewares and how to build a basic REST API routing.