mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 15:17:18 +01:00
8d8cc3ba3d
* Examples readme * link? |
||
---|---|---|
.. | ||
templates | ||
websocket | ||
bb8_connection_pool.rs | ||
error_handling_and_dependency_injection.rs | ||
form.rs | ||
hello_world.rs | ||
key_value_store.rs | ||
README.md | ||
static_file_server.rs | ||
templates.rs | ||
testing.rs | ||
versioning.rs | ||
websocket.rs |
Examples
hello_world
- Very small getting started app.key_value_store
- Slightly larger app with an in-memory key/value store.form
- Receiving data from an HTML<form>
.static_file_server
- Serving static files from a directory. Could for example be the baseline for a single page app.templates
- Rending HTML templates using askama.testing
- How to test awebframework apps.versioning
- How one might version an API.websocket
- How to build an app that handles WebSocket connections.error_handling_and_dependency_injection
- How to handle errors and dependency injection using trait objects.bb8_connection_pool
- How to use a bb8 and tokio-postgres to query a database.