concept server in category sails

appears as: server, server, servers
Sails.js in Action

This is an excerpt from Manning's book Sails.js in Action.

But that would be doing you a disservice. It’s been the experience of both authors of this book that it was not until we completely demystified the raw HTTP request and response that we were able to intuitively understand how servers really work: by slurping up strings and spitting new strings back out. But enough didactics.

  • Start the Sails server via sails lift and close the server with Ctrl-C.
  • Figure 5.1. After you started the Sails server, the bootstrap.js file was executed, in which your code logged Hello World! to the terminal. Then, you passed control back to Sails by calling cb(). At that point, Sails went about its business, completing the process of lifting the server.