All Projects → Hexilee → Roa

Hexilee / Roa

Licence: mit
async web framework inspired by koajs, lightweight but powerful.

Programming Languages

rust
11053 projects

Labels

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
Koa2 Boilerplate
[Deprecated] Minimal koa v2 boilerplate. 🤣
Stars: ✭ 196 (-11.31%)
Mutual labels:  koa
Vue Webpack Config
Koa2、Webpack、Vue、React、Node
Stars: ✭ 151 (-31.67%)
Mutual labels:  koa
Koa Webpack Middleware
webpack dev&hot middleware for koa2
Stars: ✭ 215 (-2.71%)
Mutual labels:  koa
Cool Admin Api
cool-admin-api 是基于egg.js、typeorm、jwt等封装的api开发脚手架、快速开发api接口
Stars: ✭ 188 (-14.93%)
Mutual labels:  koa
Umajs
Umajs,easy-to-use framework base on Typescript
Stars: ✭ 209 (-5.43%)
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
Blog Service
blog service @nestjs
Stars: ✭ 188 (-14.93%)
Mutual labels:  koa
Maka
Maka.js是基于react的一个前端微服务开发框架(makajs.com)
Stars: ✭ 200 (-9.5%)
Mutual labels:  koa
Github Ranking
🔍GitHub不同语言热门项目排行,Vue.js做页面展示
Stars: ✭ 160 (-27.6%)
Mutual labels:  koa
Nuxt Juejin Project
仿掘金web网站,使用服务端渲染。主要技术:nuxt + koa + vuex + axios + element-ui 。
Stars: ✭ 209 (-5.43%)
Mutual labels:  koa
Koa Hbs
Handlebars templates for Koa.js
Stars: ✭ 156 (-29.41%)
Mutual labels:  koa
Egg Core
A core Pluggable framework based on koa.
Stars: ✭ 194 (-12.22%)
Mutual labels:  koa
Openapi Backend
Build, Validate, Route, Authenticate and Mock using OpenAPI
Stars: ✭ 216 (-2.26%)
Mutual labels:  koa
Graphql Demo
🎉Koa + GraphQL + Apollo-Server demo
Stars: ✭ 215 (-2.71%)
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.

Stable Test codecov wiki Rust Docs Crate version Download :MSRV-1.42 License: MIT

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
    • roa-diesel, integration with diesel.
    • roa-juniper, integration with juniper.
  • 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].