server is a function used to take in a path to a set of routes or the code to the routes themselves, generate the router, and return a http server and the respective router object (generated by find-my-way).
This function returns an object.
A find-my-way router object.
A HTTP server object which handles all of the routes provided by the
This function take an object with a
A string or an array of routes containing the path to folders or the code itself.
A hash of options to be sent to the Route class.