We are often asked why one might choose Actionhero to power their API/App vs one of the other node.js frameworks. This document is organized around the various topics you may consider when starting a new project.
Actionhero is an opinionated Node.js API server framework providing robust and proven options out of the box for: logging, testing, HTTP and WebSockets, caching, asynchronous task processing, project structure, and clustering (both local and distributed). By providing these capabilities Actionhero helps developers focus on building features instead of building infrastructure. Conversely, most other Node API server projects require that developers invest significant time in choosing and integrating third-party plugins and extensions to deliver these capabilities.
Unlike Express and Koa, but similar to Loopback, Actionhero is an API server framework. Instead of focusing on HTTP request handling Actionhero separates the transport mechanism (HTTP, Websocket, etc) from the API logic with the concept of Actions. Actions are discrete and synchronous units of logic that can be invoked using any transport (i.e. Servers). This separation helps us to accomplish many things.
General Use CaseActionhero | Express | Koa | Loopback | Sails | |
---|---|---|---|---|---|
HTTP | ✅ | ✅ | ✅ | ✅ | ✅ |
WebSocket | ✅ | 🚫 | 🚫 | 🚫 | 🚫 |
TCP Socket | ✅ | 🚫 | 🚫 | 🚫 | 🚫 |
Shared Cache | ✅ | 🚫 | 🚫 | 🚫 | 🚫 |
Logging | ✅ | 🚫 | 🚫 | ✅ | ✅ |
Parallel Processes | ✅ | 🚫 | 🚫 | 🚫 | 🚫 |
Multiple Host Cluster | ✅ | 🚫 | 🚫 | 🚫 | 🚫 |
Background Processing | ✅ | 🚫 | 🚫 | 🚫 | 🚫 |
Middleware | ✅ | ✅ | ✅ | ✅ | 🚫 |
Testing Support | ✅ | 🚫 | 🚫 | ✅ | 🚫 |
Project Organization Conventions | ✅ | 🚫 | 🚫 | ✅ | ✅ |
The Actionhero server is open source, under the Apache-2 license
Actionhero runs on Linux, OS X, and Windows
You always have access to the Actionhero team via Slack and Github
We provide support for corporate & nonprofit customers starting at a flat rate of $200/hr. Our services include:
We have packages appropriate for all company sizes. Contact us to learn more.
We provide support for corporate & nonprofit customers starting at a flat rate of $200/hr. Our services include:
We have packages appropriate for all company sizes. Contact us to learn more.
For larger customers in need of a support contract, we offer an enterprise plan including everything in the Premium plan plus: