Building web APIs with Rust (beginners)
What you'll learn
- Building and deploying a basic Rocket REST API
- Implementing Basic Authentication for a Rocket REST API
- How basic CRUD with Diesel ORM works
- Simple serializing and deserializing Rust structs with Serde
- Basic Rust knowledge (ideally have read The Rust Language Book)
- Basic web development knowledge (HTTP and REST fundamentals)
Rust is a systems programming language which you can use to write applications with high performance. It is amazingly refreshing with a very helpful compiler who is your mentor since the very beginning.
Cargo is not only a package manager but also a build tool, a documentation generator and a lot more, making your every day managing Rust apps really easy.
It is no wonder that for these reasons, plus many more, Rust was voted as StackOverflow’s most loved programming language, seven years in a row.
You are a web developer who wants to use Rust and is looking for a resource to guide you through the currently available tools and the surrounding ecosystem.
Well, look no further! In this course we will experience how easy and straight forward creating a web application with Rust is. We will create routes, endpoints, set up authorization, handle databases and feed our clients with JSON. We will use tools such as the Rocket framework and the Diesel ORM. The authorization will be a simple Basic authorization.
In the end we will have a fully functioning CRUD REST API ready to serve clients asynchronously and blazingly fast. We will also deploy this application behind an nginx webserver which will also handle the SSL negotiation, making our app served in a secured way under HTTPS. (requires an existing webserver and domain)
Who this course is for:
- Backend web developers interested into Rust
- Rust developers interested in web development
Software engineer with more than 10 years of experience in developing and architecting web applications.
Experienced with languages including PHP, JS, Python, Go. Also extensive experience with databases like MySQL and PostgreSQL but also with NoSQL solutions like Elasticsearch and Redis.
Lately in love with Rust, its evolving web ecosystem and awesome community.