Frameworks for Node.js
You learned that we need to write lots of low level code ourselves to create a web application using Node.js in Node.js web server section.
There are various third party open-source frameworks available in Node Package Manager which makes Node.js application development faster and easy. You can choose an appropriate framework as per your application requirements.
The following table lists frameworks for Node.js.
||Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. This is the most popular framework as of now for Node.js.
||Geddy is a simple, structured web application framework for Node.js based on MVC architecture.
||Locomotive is MVC web application framework for Node.js. It supports MVC patterns, RESTful routes, and convention over configuration, while integrating seamlessly with any database and template engine. Locomotive builds on Express, preserving the power and simplicity you've come to expect from Node.
||Koa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs.
||Hapi is a rich Node.js framework for building applications and services.
||Keystone is the open source framework for developing database-driven websites, applications and APIs in Node.js. Built on Express and MongoDB.
||Derby support single-page apps that have a full MVC structure, including a model provided byÃ‚Â Racer, a template and styles based view, and controller code with application logic and routes.
||Sails makes it easy to build custom, enterprise-grade Node.js apps. It is designed to emulate the familiar MVC pattern of frameworks like Ruby on Rails, but with support for the requirements of modern apps: data-driven APIs with a scalable, service-oriented architecture. It's especially good for building chat, realtime dashboards, or multiplayer games; but you can use it for any web application project - top to bottom.
||Restify is a node.js module built specifically to enable you to build correct REST web services.
||Loopback is an open-source Node.js API framework.
||actionhero.js is a multi-transport Node.JS API Server with integrated cluster capabilities and delayed tasks.
||Frisby is a REST API testing framework built on node.js and Jasmine that makes
testing API endpoints easy, fast, and fun.
||Chocolate is a simple webapp framework built on Node.js using Coffeescript.
||Dozer is a foundation framework for rapidly developing Node.js services.
Learn about Express.js framework in the next section.