All Projects → midwayjs → Midway

midwayjs / Midway

Licence: mit
🍔 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. 🌈

Programming Languages

typescript
32286 projects
shell
77523 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Midway

Serverlessbydesign
A visual approach to serverless development. Think. Build. Repeat.
Stars: ✭ 254 (-95%)
Mutual labels:  aws, serverless, cloud, serverless-framework
Webiny Js
Enterprise open-source serverless CMS. Includes a headless CMS, page builder, form builder and file manager. Easy to customize and expand. Deploys to AWS.
Stars: ✭ 4,869 (-4.15%)
Mutual labels:  aws, serverless, cloud, serverless-framework
Jazz
Platform to develop and manage serverless applications at an enterprise scale!
Stars: ✭ 254 (-95%)
Mutual labels:  serverless, azure, serverless-framework, enterprise
Chalice
Python Serverless Microframework for AWS
Stars: ✭ 8,513 (+67.58%)
Mutual labels:  aws, serverless, cloud, serverless-framework
Dce
Disposable Cloud Environment
Stars: ✭ 137 (-97.3%)
Mutual labels:  aws, serverless, cloud, enterprise
Aws Auto Remediate
Open source application to instantly remediate common security issues through the use of AWS Config
Stars: ✭ 191 (-96.24%)
Mutual labels:  aws, serverless, cloud, serverless-framework
Aws Auto Cleanup
Open-source application to programmatically clean your AWS resources based on a whitelist and time to live (TTL) settings
Stars: ✭ 276 (-94.57%)
Mutual labels:  aws, serverless, cloud, serverless-framework
Pulumi
Pulumi - Developer-First Infrastructure as Code. Your Cloud, Your Language, Your Way 🚀
Stars: ✭ 10,887 (+114.31%)
Mutual labels:  aws, serverless, cloud, azure
Awesome Layers
λ A curated list of awesome AWS Lambda Layers. Sponsored by https://cloudash.dev
Stars: ✭ 1,655 (-67.42%)
Mutual labels:  aws, serverless, cloud, serverless-framework
Booster
Booster Cloud Framework
Stars: ✭ 136 (-97.32%)
Mutual labels:  aws, serverless, azure, framework
Cloud Custodian
Rules engine for cloud security, cost optimization, and governance, DSL in yaml for policies to query, filter, and take actions on resources
Stars: ✭ 3,926 (-22.72%)
Mutual labels:  aws, serverless, cloud, azure
Engine
Deploy your apps on any Cloud provider in just a few seconds
Stars: ✭ 1,132 (-77.72%)
Mutual labels:  aws, cloud, azure
Infracost
Cloud cost estimates for Terraform in pull requests💰📉 Love your cloud bill!
Stars: ✭ 4,505 (-11.32%)
Mutual labels:  aws, cloud, azure
Komiser
☁️ Cloud Environment Inspector 👮🔒 💰
Stars: ✭ 2,684 (-47.17%)
Mutual labels:  aws, serverless, azure
Shep
A framework for building JavaScript Applications with AWS API Gateway and Lambda
Stars: ✭ 376 (-92.6%)
Mutual labels:  aws, serverless, framework
Aws App Sync
Easily Deploy AWS AppSync GraphQL APIs Using Serverless Framework Components
Stars: ✭ 261 (-94.86%)
Mutual labels:  aws, serverless, serverless-framework
Scoutsuite
Multi-Cloud Security Auditing Tool
Stars: ✭ 3,803 (-25.14%)
Mutual labels:  aws, cloud, azure
Midway Faas
🔱 A simple and lightweight serverless framework
Stars: ✭ 363 (-92.85%)
Mutual labels:  serverless, serverless-framework, ioc
Aws Lambda Typescript
This sample uses the Serverless Application Framework to implement an AWS Lambda function in TypeScript, deploy it via CloudFormation, publish it through API Gateway to a custom domain registered on Route53, and document it with Swagger.
Stars: ✭ 228 (-95.51%)
Mutual labels:  aws, serverless, serverless-framework
Arvados
An open source platform for managing and analyzing biomedical big data
Stars: ✭ 274 (-94.61%)
Mutual labels:  aws, cloud, azure

Midway Logo

Midway - 一个面向未来的云端一体 Node.js 框架

GitHub license GitHub tag Build Status Test Coverage lerna PRs Welcome Gitpod Ready-to-Code Code Style: MidwayJS

English | 简体中文

🥳 欢迎观看 Midway Serverless 2.0 发布会回放: https://www.bilibili.com/video/BV17A411T7Md

《Midway Serverless 发布 2.0,一体化让前端研发再次提效》

特性

  • 🐘 全功能:支持 Web 应用/Serverless/FaaS/微服务/小程序后端等多种场景,基于装饰器和依赖注入开发企业级应用
  • 🐦 前端集成:全新的云端一体应用研发体验,零 API 调用,使用 "React Hooks " 风格一体研发
  • 🐴 跨平台:支持部署至普通 Server 或 Serverless/FaaS 环境
  • 🐶 扩展:组件化扩展能力,另外支持使用 Koa/Express/Egg.js 生态插件
  • 🐂 示例: 官方提供多种场景的示例代码,方便开发者快速上手
  • 🛡 TypeScript 全面支持

描述

Midway 是一个适用于构建 Serverless 服务,传统应用、微服务,小程序后端的 Node.js 框架。

Midway 可以使用 Koa,Express 或 Egg.js 作为基础 Web 框架。它还提供了独立使用的基本解决方案,例如 Socket.io,GRPC,Dubbo.js 和 RabbitMQ 等。

此外,Midway 也适用于前端/全栈开发人员的 Node.js 无服务器框架。构建下一个十年的应用程序。可在 AWS,阿里云,腾讯云和传统 VM /容器上运行。与 React 和 Vue 轻松集成。 🌈

Demo

使用装饰器开发 Web 应用

import { Controller, Get, Provide } from '@midwayjs/decorator';

@Provide()
@Controller('/')
export class HomeController {

  @Get('/')
  async home() {
    return `Welcome to midwayjs!`;
  }
}

使用函数开发全栈应用

后端代码 src/apis/lambda/index.ts

import { useContext } from '@midwayjs/hooks'

export async function getPath() {
  // 获取请求 HTTP Context
  const ctx = useContext()
  return ctx.path
}

前端调用 src/page/index.tsx

import { getPath } from './apis/lambda'

getPath().then((path) => {
  // 发送 GET 请求到 /api/getPath
  // 返回值: /api/getPath
  console.log(path)
})

快速上手

$ npm -v

# 如果是 npm v6
$ npm init midway --type=web my_midway_app

# 如果是 npm v7
$ npm init midway -- --type=web my_midway_app

## 进入项目路径
cd my_midway_app && npm run dev

如何部署等更多进阶请访问 中文文档

文档和社区

官方示例

midway-examples

请访问 midway-examples.

社区优秀示例展示

1、Cool-Admin - 一个很酷的后台权限管理框架

image

VSC Plugin

答疑

群里会有热心的朋友,也会有新版本发布推送。钉钉扫码加入答疑群

二群

一群(已满)

贡献

请告知我们可以为你做些什么,不过在此之前,请检查一下是否有 已经存在的Bug或者意见

如果你是一个代码贡献者,请参考代码贡献规范。

谁在使用

image

License

我们的代码使用 MIT 协议,请放心使用。

FOSSA Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].