🦀 Learning Rust web servers with Axum (Twitch live stream)

Subscribers:
950
Published on ● Video Link: https://www.youtube.com/watch?v=ukxNRhYvHaU



Duration: 1:22:45
365 views
13


In this video, we explored the Axum web framework for the Rust programming language.

As we learn about this framework we try to build a simple REST API that allows us to create and store simple textual notes in memory.

The code is available here: https://github.com/lmammino/trying-axum

Chapters:

00:00:00 Intro
00:02:45 Looking at the Axum repository
00:08:40 Scaffolding a "Hello world" web server
00:14:04 Generalising our "Hello world" with "IntoResponse"
00:15:42 Returning a JSON response
00:20:39 Enabling cargo-watch to automatically restart our server
00:23:05 Creating shared state with lazy_static and a static HashMap
00:26:24 Adding a POST endpoint for creating notes
00:48:16 Adding a GET endpoint for retrieving notes
01:05:04 Generalise the JSON response with serde_json
01:18:00 Committing to GitHub & wrap up


To see the next episodes live check out our Twitch channel: https://twitch.tv/loige

#rust #Axum #webdevelopment




Other Videos By Luciano Mammino (loige)


2023-06-19Fixing Fullstackbulletin.com part 2 - Twitch Live Stream
2023-06-12Fixing Fullstackbulletin.com part 1 - Twitch Live Stream
2023-05-08Creating Node.js libraries with Rust using Neon (Twitch live stream)
2023-04-18Using Zig from Python 😱 (Twitch Live Stream)
2023-04-03🦀 Calling Rust from Python 🐍 with PyO3 (Twitch live stream)
2023-03-22🦀 Exploring Rust crates zip & image (Twitch live stream)
2023-02-27🦀 Learning Rust web servers with Axum & SQLx (Twitch live stream)
2023-02-21Rust crates: async_stream (Twitch live stream 2023-02-20)
2023-02-13Rust crates: custom serde deserializers (Twitch live stream 2023-02-13)
2023-02-09Rust crates: dotenv, reqwest, url, serde, serde-json (Twitch live stream 2023-02-08)
2023-01-23🦀 Learning Rust web servers with Axum (Twitch live stream)
2023-01-09🦀 Learning nom, a Rust parser combinator library (Twitch stream)
2022-11-30Building a Tic Tac Toe game in Solid.js (Twitch Live Stream 2022-11-30)
2022-11-28🦀 Building a 2D starship game in Rust with Bevy - PART 5 (asteroids)
2022-11-21🦀 Building a 2D starship game in Rust with Bevy - PART 4 (collisions)
2022-11-14🦀 Building a 2D starship game in Rust with Bevy - PART 3 (migrating to Bevy 0.9)
2022-11-10🦀 Building a 2D starship game in Rust with Bevy - PART 2
2022-11-07🦀 Building a 2D starship game in Rust with Bevy - PART 1
2022-11-02Introduction to Bevy, Rust game engine (Twitch Live 2022-11-02)
2022-10-10🦀 Rust vs 🐍 Python: Advent of code in Rust - solving days 24 & 25/2021 (Twitch Live 2022-10-10)
2022-09-26🦀 Rust vs 🐍 Python: Advent of code in Rust - solving days 23/2021 PART 2 (Twitch Live 2022-09-26)



Tags:
rust
axum
rustlang
rustacean
web
web development
web framework
live coding
twitch
pairing
live pairing
english
coding
api
rest
restful
http
localhost
notes
project
building a web server with axum