https://github.com/guru901/ripress
An express inspired rust based web framework
https://github.com/guru901/ripress
exoress http http-server rust rust-library rustlang
Last synced: 8 months ago
JSON representation
An express inspired rust based web framework
- Host: GitHub
- URL: https://github.com/guru901/ripress
- Owner: Guru901
- License: mit
- Created: 2025-03-11T07:53:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-05T14:19:18.000Z (8 months ago)
- Last Synced: 2025-08-05T16:19:19.280Z (8 months ago)
- Topics: exoress, http, http-server, rust, rust-library, rustlang
- Language: Rust
- Homepage: https://crates.io/crates/ripress
- Size: 145 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Ripress
### An express-inspired Rust-based web framework
Please star the repo if you like it, so that I know someone is using it.
## Table of Contents
- [Overview](#overview)
- [Goals](#goals)
- [Installation](#installation)
- [Examples](#basic-example)
- [Documentation](#documentation)
- [Changelog](#changelog)
---
## Overview
Ripress is a web framework inspired by Express.js.
## Goals
- Provide an intuitive and simple API like Express.js
- Focus on developer experience first; performance optimizations will come later
- Prioritize ease of use over low-level control initially
---
## Installation
You can add `ripress` to your project using Cargo:
```sh
cargo add ripress tokio
```
Or manually add it to your `Cargo.toml`:
```toml
[dependencies]
ripress = "0.6.1"
tokio = { version = "1.46.1", features = ["full"] }
```
## Basic Example
```rust
use ripress::app::App;
use ripress::context::{HttpRequest, HttpResponse};
#[tokio::main]
async fn main() {
let mut app = App::new();
app.get("/", hello_world);
app.listen(3000, || {}).await;
}
async fn hello_world(_req: HttpRequest, res: HttpResponse) -> HttpResponse {
res.ok().text("Hello, world!")
}
```
View more basic examples in [Examples](./docs/example/) dir.
View full blown code examples [here](https://github.com/Guru901/ripress-examples).
## Documentation
[Getting Started Guide](./docs/getting-started.md)
## Changelog
[View Changelog](./CHANGELOG.md)