GithubHelp home page GithubHelp logo

justjavac / midway Goto Github PK

View Code? Open in Web Editor NEW

This project forked from midwayjs/midway

1.0 2.0 0.0 47.03 MB

๐Ÿ” 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. ๐ŸŒˆ

License: MIT License

TypeScript 92.24% JavaScript 5.58% Shell 1.03% HTML 1.15%

midway's Introduction

English | ็ฎ€ไฝ“ไธญๆ–‡

Introduction

Detailed introduction article: Alibaba Midway Serverless release v1.0๏ผŒ welcome Star this repository.

Midway Serverless is a serverless framework used to build Node.js cloud functions. Helps you significantly reduce maintenance costs and focus more on product development in the cloud-native era.

  • 1ใ€Make applications easier to maintain and delivering
    • ๐Ÿฆ Provided multiple sets of integrated development solutions for community front-end React, Vue, etc.;
    • ๐Ÿฏ Provides standard cloud platform function entry and exit parameter definitions;
    • ๐Ÿถ Provides TypeScript support to facilitate application expansion and definition;
    • ๐Ÿฑ Provides a complete Midway system iconic dependency injection solution;
  • 2ใ€ Ecology is more lightweight and free
    • ๐Ÿฆ The function system reuses the ecological and Web middleware capabilities of koa, which is more handy when dealing with traditional Web;
    • ๐Ÿด Provide an ecological chain of egg components reusing egg plug-ins, enterprise-level development links are simpler and smoother;
    • ๐Ÿ˜ The decorator capabilities of the Midway system are unified, making the traditional Web migration to the Serverless system faster and better;
  • 3ใ€Easier migration between platforms
    • ๐Ÿ’ By providing a unified configuration specification and entry smoothing mechanism, the code is basically the same on each platform;
    • ๐ŸฆŠ Expanding the runtime APIs of different cloud platforms can not only load common inter-platform extensions, but also access the company's internal private deployment solutions;

Document

Quick Start

Install CLI

First, you need to install Node (> 10.9), and npm.

npm install @midwayjs/faas-cli -g

Create First Function

Execute the following command.

f create

You will see the following scaffolding options, choose scaffolding or sample code, such as 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

VSC Plugin

Deploy Function

Execute the following command to publish to the cloud platform.

f deploy

Midway Serverless support Alibaba Cloud and Tencent Cloud. Amazon Lambda will be soon.

Quick Start - Front-end Integration Examples

The following examples of front-end integration are currently connected.

React Vue
React Vue

The visualization project of COVID-2019 pandemic developed by react integration, it can be created by selecting faas-covid19 with command f create.

Ecosystem

Project Version Description
midway-serverless faas-status A new generation of progressive Serverless development framework
runtime-engine runtime-engine-status Common basic Serverless runtime
serverless-fc-starter serverless-fc-starter-status Alibaba Cloud FC function launcher
serverless-scf-starter serverless-scf-starter-status Tencent Cloud SCF Function Launcher
midway midway-status Future-oriented web development framework based on dependency injection

Community partners

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.

license

Midway Serverless based 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

Stargazers

 avatar

Watchers

 avatar  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.