Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Midway | 6,884 | 234 | a day ago | 263 | July 30, 2023 | 148 | mit | TypeScript | ||
🍔 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 Framework | 1,893 | 23 | 6 months ago | 130 | August 23, 2022 | 37 | other | JavaScript | ||
腾讯云开发云原生一体化部署工具 🚀 CloudBase Framework:一键部署,不限框架语言,云端一体化开发,基于Serverless 架构。A front-end and back-end integrated deployment tool. One-click deploy to serverless architecture. https://docs.cloudbase.net/framework/index | ||||||||||
Riskscanner | 1,123 | 6 months ago | 6 | gpl-2.0 | Java | |||||
RiskScanner 是开源的多云安全合规扫描平台,基于 Cloud Custodian 和 Nuclei 引擎,实现对主流公(私)有云资源的安全合规扫描和漏洞扫描。 | ||||||||||
Vue Music163 | 88 | 5 years ago | 2 | JavaScript | ||||||
A webapp what base Vue2.0 contains seaching and playing music | ||||||||||
Tencent Website | 76 | 4 | 2 years ago | 24 | April 09, 2021 | mit | JavaScript | |||
Easily deploy serverless websites (e.g. Vue.js, React, static) to Tencent Cloud with the Serverless Framework | ||||||||||
Vue Music Qq | 56 | 5 years ago | JavaScript | |||||||
A qq-music project is based on vue-cli. The pages are simple and smooth | ||||||||||
Ant Live | 53 | 5 months ago | 2 | Java | ||||||
【基于JAVA开发的在线直播平台】Ant Live;腾讯云直播服务;直播鉴黄;礼物;支付宝充值提现;弹幕聊天室;前端后分离;SpringBoot;直播平台开发; | ||||||||||
Tencent | 48 | 6 years ago | 1 | Vue | ||||||
Dta | 20 | 6 months ago | 1 | TypeScript | ||||||
Bob for Electorn是一款仿Bob、PopClip的划词、OCR、翻译、取色工具 | ||||||||||
Vue Tvideo | 19 | 4 years ago | 1 | JavaScript | ||||||
🖥 A PWA made with vue that copy Tencent video Mac version UI,could install on the desktop | Vue实现腾讯视频Mac客户端UI,支持pwa 安装到桌面 |
Midway - Node.js
English |
Midway Serverless Node.js
Midway KoaExpress Egg.js Web Socket.ioGRPCDubbo.js RabbitMQ
Midway / Node.js AWS VM / React Vue
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
**1Cool-Admin - **