Midway

🍔 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. 🌈
Alternatives To Midway
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Midway6,884234a day ago263July 30, 2023148mitTypeScript
🍔 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. 🌈
Cloudbase Framework1,893236 months ago130August 23, 202237otherJavaScript
腾讯云开发云原生一体化部署工具 🚀 CloudBase Framework:一键部署,不限框架语言,云端一体化开发,基于Serverless 架构。A front-end and back-end integrated deployment tool. One-click deploy to serverless architecture. https://docs.cloudbase.net/framework/index
Riskscanner1,123
6 months ago6gpl-2.0Java
RiskScanner 是开源的多云安全合规扫描平台,基于 Cloud Custodian 和 Nuclei 引擎,实现对主流公(私)有云资源的安全合规扫描和漏洞扫描。
Vue Music16388
5 years ago2JavaScript
A webapp what base Vue2.0 contains seaching and playing music
Tencent Website7642 years ago24April 09, 2021mitJavaScript
Easily deploy serverless websites (e.g. Vue.js, React, static) to Tencent Cloud with the Serverless Framework
Vue Music Qq56
5 years agoJavaScript
A qq-music project is based on vue-cli. The pages are simple and smooth
Ant Live53
5 months ago2Java
【基于JAVA开发的在线直播平台】Ant Live;腾讯云直播服务;直播鉴黄;礼物;支付宝充值提现;弹幕聊天室;前端后分离;SpringBoot;直播平台开发;
Tencent48
6 years ago1Vue
Dta20
6 months ago1TypeScript
Bob for Electorn是一款仿Bob、PopClip的划词、OCR、翻译、取色工具
Vue Tvideo19
4 years ago1JavaScript
🖥 A PWA made with vue that copy Tencent video Mac version UI,could install on the desktop | Vue实现腾讯视频Mac客户端UI,支持pwa 安装到桌面
Alternatives To Midway
Select To Compare


Alternative Project Comparisons
Readme

Midway Logo

Midway - Node.js

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

English |

  • **** Web /Serverless/FaaS//
  • **** API "React Hooks "
  • **** Server Serverless/FaaS
  • **** Koa/Express/Egg.js
  • ****:
  • TypeScript

Midway Serverless Node.js

Midway KoaExpress Egg.js Web Socket.ioGRPCDubbo.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 {
  Api,
  Get,
  Query,
  useContext,
} from '@midwayjs/hooks';

export default Api(
  Get(),
  Query<{
    page: string;
    limit: string;
  }>(),
  async () => {
    const ctx = useContext();
    return {
      page: ctx.query.page,
      limit: ctx.query.limit,
    };
  }
);

src/page/index.tsx

import getArticles from './api';
const response = await getArticles({
  query: { page: '0', limit: '10' },
});
console.log(response); // { page: '0', limit: '10' }
fetch('/api/articles?page=0&limit=10')
  .then((res) => res.json())
  .then((res) => console.log(res)); // { page: '0', limit: '10' }

$ 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

**1Cool-Admin - **

image

VSC Plugin

Bug

image Logo

License

MIT

FOSSA Status

Popular Vue Projects
Popular Tencent Projects
Popular Web User Interface Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Typescript
Reactjs
Vue
Aws
Cloud
Azure
Serverless
Ioc
Egg
Serverless Framework
Aliyun
Alibaba
Tencent
Dependency Injection Container