Build Your First REST API in Rust
Wondering what building a web API in Rust actually looks like? Let's build one together.
If you've been curious about Rust for a while, this workshop is a great way to get your feet wet.
I've taught versions of this workshop at CCNY and LIU Brooklyn, and this will be the first time I'm offering it online.
In this small, interactive workshop, we'll build a REST API from scratch using Axum.
No Rust experience required. If you've written code before in Python, JavaScript, Java, or a similar language, you'll be able to follow along.
What we’ll cover
- What a REST API is and why Rust is a useful tool for backend development
- Spinning up an HTTP server using Axum and Tokio
- Testing endpoints using curl and Postman
- Using routers, handlers, and state to manage a JSON list of users
By the end of the session, you will
- Understand the core building blocks of a Rust web server
- Be able to run and modify a working API locally
- Leave with a template you can extend into your own projects
Additional details
Live workshop
Limited to 5 digital chairs so it can stay interactive and conversational
Not recorded