跳到主要内容
Midway v4.0 // System Ready

Fullstack Framework
For Mission Critical

Enterprise-grade Node.js architecture for
Build scalable serverless and traditional applications with confidence.

SYS.READY
V.4.0.0
CORE.ACTIVE
Scroll
01 // Capabilities

核心特性

Reliable & Fast

Class + IoC = 更优雅的架构
Function + Hooks = 更高的研发效率

API & Fullstack

不仅支持开发 API 服务,也提供业界首创的一体化全栈开发模式

Progressive

渐进式设计,提供从基础到入门再到企业级的升级方案,解决应用维护与拓展性难题
02 // Development

Class 语法教程

学习如何使用 Class 语法开发 Midway.js 应用

Decorators
IoC Container
TypeORM
home.controller.ts

@Controller('/')
export class Home {
  @Inject()
  ctx: Context;

  @Get('/api')
  async getData() {
    return "Midway Connected";
  }
}
Ln 9, Col 1UTF-8TypeScript
function.service.ts

export default async () => {
  const ctx = useContext();
  const db = usePlugin(TypeORM);

  return {
    status: "Active",
    data: await db.find()
  };
}
Ln 10, Col 1UTF-8TypeScript
03 // Agility

Function 语法教程

学习如何使用 Function 语法开发 Midway.js 应用

Zero API
React Hooks
Lightweight
Start Interactive Tutorial

应用案例

探索 Midway.js 在各种场景下的应用,了解其强大的适应性和灵活性

Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image

推荐项目

来自开源社区的优秀扩展和项目,与 Midway.js 完美配合

信任我们的团队

来自各大互联网公司的优秀团队都在使用 Midway.js,共同构建更好的应用