axum/examples
David Pedersen f8154a088c
Add example showing up to customize extractor error (#356)
Lots have been asking about this so makes sense to have an example for.

Once this is merged I'll add a link to it in the docs.
2021-09-30 17:55:58 +00:00
..
async-graphql Replace `route` with `Router::new().route()` (#215) 2021-08-19 22:37:48 +02:00
chat Replace `route` with `Router::new().route()` (#215) 2021-08-19 22:37:48 +02:00
customize-extractor-error Add example showing up to customize extractor error (#356) 2021-09-30 17:55:58 +00:00
error-handling-and-dependency-injection Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
form Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
global-404-handler Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
graceful_shutdown Add graceful shutdown example (#349) 2021-09-28 09:08:49 +00:00
hello-world Fix content-type in example response (#276) 2021-08-26 18:16:41 +00:00
jwt Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
key-value-store Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
low-level-rustls Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
multipart-form Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
oauth Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
print-request-response Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
sessions Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
sse Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
static-file-server Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
templates Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
testing Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
tls-rustls Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
todos Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
tokio-postgres Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
tracing-aka-logging Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
unix-domain-socket Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
validator Add validator example (#352) 2021-09-28 18:12:23 +02:00
versioning Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
websockets Migrate all examples to use `std::env::var_os` (#312) 2021-09-12 17:39:43 +02:00
README.md Add JWT auth example as community showcase (#309) 2021-09-08 06:15:17 +00:00

README.md

Examples

This folder contains numerous example showing how to use axum. Each example is setup as its own crate so its dependencies are clear.

Community showcase

  • Houseflow: House automation platform written in Rust.
  • Datafuse: Cloud native data warehouse written in Rust.
  • JWT Auth: JWT auth service for educational purposes.