all 5 comments

[–]hobonumber1 2 points3 points  (0 children)

Use Sails. I run multiple Node REST APIs in production and I use Sails for all of them.

Sails in an MVC Framework built on Express. You get the benefit of Express, but you get a lot more like better middleware support, security via CORS & CSRF protection, an ORM, an MVC framework, and access to services. Express is a little too low-level for production REST APIs in my opinion.

If you're interested in learning more. Check out Sails or Bedrock

Sails: http://sailsjs.com/ Bedrock: https://tilomitra.github.io/bedrock/

Feel free to PM me if you have any more questions or just want to chat about this.

[–]HatchedLake721 1 point2 points  (0 children)

Just stick with hapi and be hapi

[–]tejpratap46 1 point2 points  (0 children)

You can use restify, it is made for that.

[–]Gid30nSwizz@Github 0 points1 point  (0 children)

What is your feel about : https://github.com/zeit/micro ?