Software and technology · Backend

Rust for the web

Build and deploy web services in Rust: why Tokio, hyper, tower and axum exist, routing, extractors, responses and errors in axum, middleware with tower and tower-http, data access with SQLx (pools, compile-time checked queries, transactions and migrations), input validation, configuration and secrets, passwords with Argon2, sessions and JWT, observability with tracing and OpenTelemetry, testing HTTP services and deployment: binaries and containers, your own server with systemd and a reverse proxy, AWS Lambda, PaaS and Laravel Cloud. Based on the official documentation of each crate and platform. The language itself is covered in the Rust course.

  • Free
  • Tests that teach
  • Doomscrolling-style videos

100% free course. You learn with practice tests and short vertical doomscrolling-style videos.

Sections
9
Tests
21
Questions
269

Truly free

No card, no expiring trial and no locked content: the whole course is yours.

Tests that teach

Every question explains why the answer is right and reviews your mistakes until you master them.

Doomscrolling-style videos

Short vertical videos explain each topic before its questions: you swipe and you learn.

What you will learn

  1. The Rust web stack 2 tests · 21 questions
  2. axum: routing, extractors and responses 4 tests · 53 questions
  3. Middleware with tower and tower-http 2 tests · 26 questions
  4. Data with SQLx 3 tests · 39 questions
  5. Input, configuration and authentication 3 tests · 40 questions
  6. Observability and testing 2 tests · 29 questions
  7. Deployment 3 tests · 41 questions
  8. Common mistakes 1 tests · 10 questions
  9. Mistakes that cost dearly 1 tests · 10 questions

This is what a test looks like

Pick an answer to try it.

En el servidor «hola mundo» de la guía de hyper, un `TcpListener` acepta conexiones y cada una pasa por `http1::Builder::new().serve_connection(io, service_fn(hola))`. ¿Qué hace Tokio y qué hace hyper con cada conexión?

Correct! Inside the course every question comes with its explanation. Not that one. Inside the course every question explains why.

Based on expert sources

and 174 more sources

Start Rust for the web for free

Free, with tests and doomscrolling-style videos. All you need is your Google account.

Report a Bug

Please review the form.

Max 5MB. Supported formats: PNG, JPG, GIF, WebP.