Dragos Varovici 13f1dc7c4f Rust axum optimizations (#6939) 3 years ago
..
src 13f1dc7c4f Rust axum optimizations (#6939) 3 years ago
templates 472e245199 Rust Axum using sqlx 3 years ago
.gitignore 472e245199 Rust Axum using sqlx 3 years ago
Cargo.lock 13f1dc7c4f Rust axum optimizations (#6939) 3 years ago
Cargo.toml 13f1dc7c4f Rust axum optimizations (#6939) 3 years ago
README.md 472e245199 Rust Axum using sqlx 3 years ago
axum-bb8.dockerfile 13f1dc7c4f Rust axum optimizations (#6939) 3 years ago
axum-mongo.dockerfile 13f1dc7c4f Rust axum optimizations (#6939) 3 years ago
axum-sqlx.dockerfile 13f1dc7c4f Rust axum optimizations (#6939) 3 years ago
axum.dockerfile 13f1dc7c4f Rust axum optimizations (#6939) 3 years ago
benchmark_config.json 0c808262a7 Rust axum fixes 3 years ago
config.toml 472e245199 Rust Axum using sqlx 3 years ago
run.sh 13f1dc7c4f Rust axum optimizations (#6939) 3 years ago
rustfmt.toml 307a0ff45a Rust Axum using sqlx and bb8 3 years ago

README.md

Axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper

Description

Axum is a web application framework that focuses on ergonomics and modularity.

Database

PostgreSQL

Test URLs

Test 1: JSON Encoding

http://localhost:8000/json

Test 2: Single Row Query

http://localhost:8000/db

Test 3: Multi Row Query

http://localhost:8000/queries?q=20

Test 4: Fortunes (Template rendering)

http://localhost:8000/fortunes

Test 5: Update Query

http://localhost:8000/updates?q=20

Test 6: Plaintext

http://localhost:8000/plaintext