An extremely basic restify server.
The restify docs include some Hello World code, but not how to run it. For absolute rookies some more guidance would be useful.
- Install node.js
- Clone this repo
- Run
npm install
to pull down the dependencies
- Run
node server.js
- Point your browser to
localhost:8080/hello/Roy
, or if you like, runcurl -is http://localhost:8080/hello/Roy -H 'accept: text/plain'