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

preview_player
Показать описание
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.

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

#rust #Axum #webdevelopment
Рекомендации по теме
Комментарии
Автор

Congratulations on exploring the Axum web framework! Keep up the great work and keep learning!

LifeCodeGame