Skip to content

Latest commit

 

History

History
executable file
·
18 lines (12 loc) · 542 Bytes

README.md

File metadata and controls

executable file
·
18 lines (12 loc) · 542 Bytes

What?

An extremely basic restify server.

Why?

The restify docs include some Hello World code, but not how to run it. For absolute rookies some more guidance would be useful.

How?

Prerequisites

  1. Install node.js
  2. Clone this repo
  3. Run npm install to pull down the dependencies

Running

  1. Run node server.js
  2. Point your browser to localhost:8080/hello/Roy, or if you like, run curl -is http://localhost:8080/hello/Roy -H 'accept: text/plain'