Coder Social home page Coder Social logo

davidmr001 / midway Goto Github PK

View Code? Open in Web Editor NEW

This project forked from midwayjs/midway

0.0 0.0 0.0 4.3 MB

🍔 Midway is 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. 🌈

License: MIT License

TypeScript 98.23% JavaScript 1.27% Shell 0.50%

midway's Introduction

English | 简体中文

介绍

详细介绍文章:阿里 Midway 正式发布 Serverless v1.0, 欢迎 Star 本仓库

Midway Serverless 是一个用于构建 Node.js 云函数的 Serverless 框架,可以帮您在云原生时代更专注于产品开发,降低维护成本。

  • 1、平台间迁移更容易
    • 🐒 通过提供统一的配置规范以及入口抹平机制,让代码在每个平台基本相同;
    • 🦊 扩展不同云平台的运行时 API,不仅能加载通用的平台间扩展,也能接入公司内部的私有化部署方案;
  • 2、让应用更易维护和扩展
    • 🐯 提供了标准的云平台函数出入参事件定义;
    • 🐦 提供了多套和社区前端 React、Vue 等融合一体化开发的方案;
    • 🐶 提供了 TypeScript 支持,方便应用扩展和定义;
    • 🐱 提供了完善的 Midway 体系标志性的依赖注入解决方案;
  • 3、 生态更轻量和自由
    • 🦁 函数体系复用 koa 的生态和 Web 中间件能力,在处理传统 Web 时更加得心应手;
    • 🐴 提供 egg 组件复用 egg 插件的生态链,企业级开发链路更简单顺畅;
    • 🐘 Midway 体系的装饰器能力统一,让传统 Web 迁移到 Serverless 体系更快更好;

文档

快速开始

安装 CLI 工具

首先,你需要安装 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
React Vue

加入社区

扫码加入即刻交流与反馈:

Join the chat at dingtalk

生态体系

Project Version Description
midway-serverless faas-status 新一代渐进式 Serverless 开发框架
runtime-engine runtime-engine-status 通用的基础 Serverless 运行时
serverless-fc-starter serverless-fc-starter-status 阿里云 FC 函数启动器
serverless-scf-starter serverless-scf-starter-status 腾讯云 SCF 函数启动器
midway midway-status 基于依赖注入面向未来的 Web 开发框架

社区合作伙伴

Contributors

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 协议开发.

About

Alibaba Open Source

midway's People

Contributors

czy88840616 avatar echosoar avatar guangwong avatar kurten avatar legendecas avatar lellansin avatar lxxyx avatar stone-jin avatar waitingsong avatar zqun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.