# midwayjs/midway

🍔 A Node.js Serverless Framework for front-end/full-stack developers. Build the application for next decade. Works on AWS, Alibaba Cloud, Tencent Cloud and traditional VM/Container. Super easy integrate with React and Vue. 🌈

Repository: https://github.com/midwayjs/midway
Canonical: https://ross.abutalabs.com/products/midway
Homepage: https://www.midwayjs.org/
Language: TypeScript
License: MIT
License Family: permissive
Topics: enterprise, framework, web, typescript, ioc, dependency-injection-container, midway, serverless, serverless-framework, aws, aliyun, cloud, azure, mircoservices, react, vue
Last push: 2026-08-26T15:26:15+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 2974, "days_push": 7, "days_rel": 8, "gap_med": 14.0, "n_releases_24m": 39}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7742, forks 585 (observed 2026-08-28T04:10:02.737366+00:00)

## What it is
Midway is a progressive, TypeScript-first Node.js framework from Alibaba's Taobao frontend architecture team, built around a custom dependency injection (IoC) container. It supports both object-oriented (Class + decorators) and functional (Hooks) programming styles for building web applications, APIs, fullstack apps, microservices, RPC, Socket, and Serverless/FaaS services deployable to AWS, Alibaba Cloud, Tencent Cloud, or traditional servers.

## Use cases
- build a TypeScript Node.js REST API with decorators and dependency injection
- deploy a serverless function-based backend to Alibaba Cloud or AWS
- develop a fullstack app with zero-API React or Vue integration
- build enterprise microservices with gRPC or message queues
- create a websocket or socket.io backend service
- generate OpenAPI/Swagger docs from controller decorators
- migrate between traditional VM/container deployment and FaaS without rewriting

## When to choose
- you want a NestJS-like IoC framework with first-class TypeScript and strong Chinese-language documentation
- you need one codebase deployable to both serverless platforms and traditional servers
- you're building enterprise-grade Node.js backends with ORM, Redis, caching, and scheduling built in
- you want integrated fullstack development with React/Vue hooks-style API calls

## When to avoid
- you prefer a minimal, unopinionated framework like plain Express, Koa, or Fastify
- your team is not using TypeScript
- you need the largest English-language community and ecosystem (NestJS is stronger there)
- you're building a simple static site or frontend-only project

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, api-framework, middleware, routing, orm, caching, rpc, websocket
- domain: web-development, backend, developer-tools, cloud-computing, microservices, apis
- platform: cross-platform, serverless, cloud
- tags: typescript, serverless, ioc, dependency-injection, fullstack, faas, enterprise, koa, express, eggjs, react-integration, vue-integration, decorators, alibaba, nodejs, docker

## Member repositories
- midwayjs/midway (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:02.737366+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:35:10.362905+00:00, confidence not recorded.
  - readme: https://github.com/midwayjs/midway (fetched 2026-08-28T04:10:02.737366+00:00, sha 4275612094a1)
  - homepage: https://www.midwayjs.org/ (fetched 2026-08-29T08:31:40.763516+00:00, sha 928779d6561e)
  - site_page: https://www.midwayjs.org/docs/intro (fetched 2026-08-29T08:31:40.772734+00:00, sha 27be73d48546)
  - site_page: https://www.midwayjs.org/docs/3.0.0/intro (fetched 2026-08-29T08:31:40.776325+00:00, sha ec8fbb78bf70)
  - site_page: https://www.midwayjs.org/docs/2.0.0/intro (fetched 2026-08-29T08:31:40.778156+00:00, sha 1a5909aa1f54)
  - site_page: https://www.midwayjs.org/docs/extensions/axios (fetched 2026-08-29T08:31:40.774556+00:00, sha 3453f7071e44)
  - site_page: https://www.midwayjs.org/docs/1.0.0/intro (fetched 2026-08-29T08:31:40.779931+00:00, sha 74f17968955a)
  - site_page: https://www.midwayjs.org/docs/extensions/orm (fetched 2026-08-29T08:31:40.781752+00:00, sha b2f68f19b8fc)
  - site_page: https://www.midwayjs.org/docs/extensions/redis (fetched 2026-08-29T08:31:40.784494+00:00, sha 4cd57a358af5)
  - site_page: https://www.midwayjs.org/docs/extensions/swagger (fetched 2026-08-29T08:31:40.786922+00:00, sha e777b32d9db0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
