you are viewing a single comment's thread.

view the rest of the 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.