Re:Building REST APIs with Node.js
by byoung2 on Sunday January 27, 2013 @06:37PM
(#5126205)
I'd also recommend Restify http://mcavage.github.com/node-restify/ for writing API's on Node.
[ Parent
| on HN ]
I second this recommendation. Restify is targeted at APIs so it has built in support for things like API versioning, auto content negotiation and observability (via DTrace). This is not to say that express is bad or that you can't build APIs using express but rather that I find restify more enjoyable to use for APIs.
And lighter!
Re:Building REST APIs with Node.js
by general_failure on Sunday January 27, 2013 @07:33PM
(#5126399)
I recommend express simply because more people know about it. This really matters in an ecosystem so young as node. Information is very hard to get. Hint : compare the number of express and restify blog posts.
Note : I do use testify and its great.
In addition, if you want to take you rest a pi server to also provide web pages, express is more suitable.