midwayjs / midway
- воскресенье, 5 июля 2020 г. в 00:22:40
TypeScript
🍔 A Node.js Serverless Framework for front-end/full-stack developers. Build the application for next decade. Works on AWS, Aliyun, Tencent-Cloud and traditional VM/Container. Super easy integrate with React and Vue. 🌈
English | 简体中文
详细介绍文章:阿里 Midway 正式发布 Serverless v1.0, 欢迎 Star 本仓库
Midway Serverless 是一个用于构建 Node.js 云函数的 Serverless 框架,可以帮您在云原生时代更专注于产品开发,降低维护成本。
首先,你需要安装 Node(> 10.9),以及 npm。
npm install @midwayjs/faas-cli -g
执行下面的命令。
f create
你会看到以下脚手架选择,选择脚手架或者示例代码,比如 faas-standard
。
Generating boilerplate...
? Hello, traveller.
Which template do you like? …
⊙ Boilerplate
❯ faas-standard - A serverless boilerplate for aliyun fc, tencent scf and so on
faas-layer - A serverless runtime layer boilerplate
⊙ Examples
faas-react - A serverless example with react
faas-vue - A serverless example with vue
执行下面的命令即可发布到云平台。
f deploy
Midway Serverless 现已支持阿里云、腾讯云的部署,aws 正在开发中。
当前已接入以下云 + 端一体化示例。
![]() |
![]() |
---|---|
React | Vue |
扫码加入即刻交流与反馈:
Project | Version | Description |
---|---|---|
midway-serverless | 新一代渐进式 Serverless 开发框架 | |
runtime-engine | 通用的基础 Serverless 运行时 | |
serverless-fc-starter | 阿里云 FC 函数启动器 | |
serverless-scf-starter | 腾讯云 SCF 函数启动器 | |
midway | 基于依赖注入面向未来的 Web 开发框架 |
Please let us know how can we help. Do check out issues for bug reports or suggestions first.
To become a contributor, please follow our contributing guide.
This project exists thanks to all the people who contribute.
Midway Serverless 基于 MIT licensed 协议开发.