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 .run() method on it.
you can always visit 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 bootstraping, visit API reference.
In the next chapter you will learn how to create basic Marble.js endpoints using .