actionhero

actionhero.js is a multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks

Github星跟蹤圖

Actionhero

The reusable, scalable, and quick node.js API server for stateless and stateful applications


Please take a moment to fill out our 2020 Developer Survey!


NPM, Web Site, Latest Docs, GitHub, Slack, Twitter

NPM Version
Node Version
NPM
Dependency Status
Greenkeeper badge
Build Status
Awesome
Follow new releases
Chat

Who is the ActionHero?

ActionHero is a multi-transport API Server with integrated cluster capabilities and delayed tasks. The goal of actionhero is to create an easy-to-use toolkit for making reusable & scalable APIs for HTTP, WebSockets, and more. Clients connected to an actionhero server can consume the api, consume static content, and communicate with each other. ActionHero is cluster-ready, with built in support for background tasks, 0-downtime deploys, and more. ActionHero provides a simple Async/Await API for managing every type of connection and background task.

Currently actionhero supports the following out of the box...

... and you can also make your own servers and transports.

Quick Start

# Generate a new Project
npx actionhero generate
npm install
npm run build # <--- new! I compile the TS to JS
npm run dev # <--- new! I use `ts-node` to let you develop on your ts files without compiling

# Use the actionhero CLI
(npx) actionhero generate action --name my_action
(npx) actionhero generate task --name my_task --queue default --frequency 0

# Test
npm test
# I'll run `prettier` and `build` for you first
# I handle .ts files now!

# To deploy your app
npm run build # <--- new! I compile the TS to JS
npm run start

Your new project will come with example actions, tests, and more.

Or deploy a free API server now:

Deploy to Heroku

Learn More ?

In-depth Tutorials ?

Core Components

Server Types

Testing, Deployment, and Operations

Sample Projects

Who?

  • Many folks have helped to make ActionHero a reality.
  • If you want to contribute to actionhero, contribute to the conversation on github and join us on slack

Contributing

License

Apache 2.0

主要指標

概覽
名稱與所有者actionhero/actionhero
主編程語言TypeScript
編程語言JavaScript (語言數: 5)
平台
許可證Apache License 2.0
所有者活动
創建於2011-09-30 20:20:43
推送於2025-05-19 19:20:12
最后一次提交
發布數384
最新版本名稱v29.3.4 (發布於 2025-03-31 11:26:22)
第一版名稱v0.1.7 (發布於 )
用户参与
星數2.4k
關注者數70
派生數260
提交數5.4k
已啟用問題?
問題數710
打開的問題數7
拉請求數1752
打開的拉請求數15
關閉的拉請求數432
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?