jeremychone-channel/rust-axum-course
소개
Rust Axum Full Course code.
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalRust Axum Full Course Source Code
Latest Update: 2025-09-21 - Update to Axum 0.8
GitHub Repo - jeremychone-channel/rust-axum-course
This repository contains the source code for the Rust Axum Full Course, which is available on YouTube.
The code is available under the MIT or Apache license and is free to use.
Full Rust Web App Production Blueprint Course and Repository at https://rust10x.com/web-app
(YouTube video: Episode 01 - Rust Web App - Course to Production Coding)
Important: Refresh this repo. I implemented a fix to cookie.add for AUTH_TOKEN (see details below in the Notes section).
Here is a Per Chapter Fork by @FloWi. Big thanks!
Updates
- 2025-09-21 - Axum 0.7 to 0.8 GitHub tag: axum-07-to-08
- 2023-11-30 - Axum 0.6 to 0.7 GitHub tag: axum-06-to-07
Dev (REPL)
# Terminal 1 - To run the server.
cargo watch -q -c -w src/ -x "run"
# Terminal 2 - To run the tests.
cargo watch -q -c -w examples/ -x "run --example quick_dev"
Dev
# Terminal 1 - To run the server.
cargo run
# Terminal 2 - To run the tests.
cargo run --example quick_dev
Notes
- IMPORTANT - For the
AUTH_TOKENcookie, make sure to callcookie.set_path("/");. See commit - Fix AUTH_TOKEN cookie issue - The
tests/quick_dev.rsfile has been moved toexamples/quick_dev.rs(with the same code) as it is more appropriate and seems to resolve a Windows limitation when runningtestandrunsimultaneously. - Use the
--pollflag for cargo watch (latest 8.4.0) on my Fedora Linux environment for both the server and tests. Things were not updating without it. See #1 - Make sure to use
axumversion0.6.16or later, as version0.6.15had a bug in static routing. - Here is a Per Chapter Fork by @FloWi. Big thanks!
This repository can be found on GitHub.
관련 프로젝트 살펴보기
불러오는 중…