Hexilee / Roa
Licence: mit
async web framework inspired by koajs, lightweight but powerful.
Stars: ✭ 221
Programming Languages
rust
11053 projects
Projects that are alternatives of or similar to Roa
Putongoj
Putong Online Judge -- An online judge with nothing special
Stars: ✭ 157 (-28.96%)
Mutual labels: koa
Parrot Mocker Web
Simple web server to forward received requests to real servers or just mock
Stars: ✭ 194 (-12.22%)
Mutual labels: koa
Nobibi
一款基于Next.js+mongo的轻量级开源社区(open community by Next.js & mongo)
Stars: ✭ 209 (-5.43%)
Mutual labels: koa
Lad
👦 Lad is the best Node.js framework. Made by a former Express TC and Koa team member.
Stars: ✭ 2,112 (+855.66%)
Mutual labels: koa
Koa Passport Mongoose Graphql
Koa 2 server with Passport + Mongoose + GraphQL
Stars: ✭ 190 (-14.03%)
Mutual labels: koa
Cool Admin Api
cool-admin-api 是基于egg.js、typeorm、jwt等封装的api开发脚手架、快速开发api接口
Stars: ✭ 188 (-14.93%)
Mutual labels: koa
Bedrock Core
Bedrock is a battle-tested template of micro services, components and patterns that tie together Kubernetes, Elasticsearch, MongoDB, Node.js and React (KEMNR).
Stars: ✭ 173 (-21.72%)
Mutual labels: koa
Nuxt Juejin Project
仿掘金web网站,使用服务端渲染。主要技术:nuxt + koa + vuex + axios + element-ui 。
Stars: ✭ 209 (-5.43%)
Mutual labels: koa
Openapi Backend
Build, Validate, Route, Authenticate and Mock using OpenAPI
Stars: ✭ 216 (-2.26%)
Mutual labels: koa
Blog Frontend Project
Web frontend code for my blogs, develop with Vue.
Stars: ✭ 206 (-6.79%)
Mutual labels: koa
Roa
Roa is an async web framework inspired by koajs, lightweight but powerful.
Examples | Guide | Cookbook
Feature highlights
- A lightweight, solid and well extensible core.
- Supports HTTP/1.x and HTTP/2.0 protocols.
- Full streaming.
- Highly extensible middleware system.
- Based on
hyper
, runtime-independent, you can chose async runtime as you like.
- Many useful extensions.
- Official runtime schemes:
- Transparent content compression (br, gzip, deflate, zstd).
- Configurable and nestable router.
- Named uri parameters(query and router parameter).
- Cookie and jwt support.
- HTTPS support.
- WebSocket support.
- Asynchronous multipart form support.
- Other middlewares(logger, CORS .etc).
- Integrations
- Works on stable Rust.
Get start
# Cargo.toml
[dependencies]
roa = "0.5.0"
async-std = { version = "1.5", features = ["attributes"] }
use roa::App;
use roa::preload::*;
use std::error::Error as StdError;
#[async_std::main]
async fn main() -> Result<(), Box<dyn StdError>> {
let app = App::new().end("Hello, World");
app.listen("127.0.0.1:8000", |addr| {
println!("Server is listening on {}", addr)
})?
.await?;
Ok(())
}
Refer to wiki for more details.
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].