Building web APIs with Rust (beginners)

Back-end web development in Rust for beginners

4.61 (185 reviews)
Udemy
platform
English
language
Web Development
category
instructor
Building web APIs with Rust (beginners)
1,806
students
3.5 hours
content
Jan 2024
last update
$64.99
regular price

What you will learn

Building and deploying a Rocket REST API

Implementing Basic Authentication for a Rocket REST API

How basic CRUD with Diesel ORM works

Serializing and deserializing Rust structs with Serde

Why take this course?

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 and desired programming language, eight 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)


Jump abroad!

Reviews

Ante
September 16, 2023
Good course, would recommend. A bit too much copy / paste for my liking, though the instructor did go through the code and explain every line. It would be better if the instructor would write line by line and explain it as he goes through. Other than that, it's good.
Abuzar
June 25, 2023
when the teacher have understanding of the topic they can propagate the message and explain in very efficient manner and it happens to be the case in this course Awesome course for anyone who is starting out in rust backend
Damian
June 11, 2023
I highly recommend the "Building Web APIs with Rust for Beginners" course on Udemy. Each lesson is well-structured, making complex topics accessible for beginners. The instructor's expertise shines through in the engaging and informative delivery. The knowledge I've gained will be invaluable for my future projects. A worthwhile investment for anyone wishing to learn Rust and Rocket APIs. However, there is room for improvement. The course would be even more beneficial if it included a section on deploying these APIs in containers, a key aspect in today's development landscape. This addition could provide a more comprehensive understanding of how Rust APIs can be effectively used in production
Martin
April 19, 2023
This is very good crash course without any long talking about basics. It is ideal for people like me, who are developing robust and huge API backends mostly in Ruby and started with Rust language and want to know how to do things I am used to using newly learned language.
Kyle
March 31, 2023
The course delivered on a beginners guide to building and deploying a basic Rocket REST API but I felt some of the course content could have been delivered better. For example multiple sections of code were either existing or copy/pasted which sometimes made it difficult to keep up with the changes being made without rewinding the video or going to the course code on Github to see what had changed. The course would also greatly benefit from including some degree of writing and running unit tests. This is a standard I've come to expect in udemy course (even at a beginner level). The deployment section was not something everyone will be able to work through as it requires a pre-existing domain and server for hosting the application (this was a section I was excited about but felt that it didn't quite delivery). Overall, I still found value in the course and the exposure to Rocket, Diesel, and Serde were my key takeaways. If there was a advanced course, I would still purchase it.
Peter
March 28, 2023
Production was good, the source code was well-maintained, and the length was perfect for the content depth. Exactly what I was looking for.
Addiestar
March 20, 2023
I am glad to having this course. I learn something about Rust from this course but I think It would be better if there is a sample code to make it faster in learning process. If you have the sample code, please let me know. Cheers Paris and Thank you
Chris
January 30, 2023
The course is excellent. I'd give it more stars but the course needs to be updated. I spent far more time trying to update libraries than working through the course material. I'd gladly pay for the course again if it gets an update. Thanks for putting this together, Paris!
Aaron
December 16, 2022
Need to update this for rocket version 0.5. Also I want to be able to follow along, can't really do that here. Maybe a code repository to download?
Thomas
December 15, 2022
I've going through this tutorial in 2022 and I'm having to get the correct version packages and make some slight amends. The tutorial needs updating
Nik
November 8, 2022
Excellent course. Very solid to give you a sense of how to use some of these crates. I hope there is a part 2. I'll def be buying anything this creator makes!
Drey
August 26, 2022
Pretty good course on learning Rocket. I'd love to see some updates with 0.5.0-rc.2 in the course. The last repo in the course on Gitlab uses 0.5.0-rc.1 and I was able to update it to rc.2 with no trouble at all. For those learning the course step by step it's easiest to grab all the dependancies from the final zip (Not from gitlab) and setup those .TOML files first. That way you get the 0.5.0-dev version of rocket used in the videos when you do your cargo build. While this course is a little outdated, it is currently one of the best ways to learn Rocket. Anyways, I'd love to see more Rocket course videos from the Instructor in the future. I hope this is helpful to others trying to take the course.
Muktabh
May 28, 2022
If you have just written some small tasks in Rust and want to learn to write backend services, this is the perfect course. Doesn't beat around the bush, just teaches you enough to be able to write any CRUD web service.
Hans
January 10, 2022
From section 2 on the code the instructor presented didn't work at all. Also the changes made in the respository didn't work! I stopped there. Very disappointing!
Philipp
December 16, 2021
This course right now is the best starting point you can have for Rocket with Rust, particularly as someone that hasn't yet fully "gotten" rust. That being sad, there's definitely a lot of room for improvement. The course needs updating in some of the sections and would do well to expand beyond the very basic usecase it currently presents (implementing a CRUD endpoint on an sqlite database with an ORM, with the endpoint enforcing a Basic authentication guard). Some of the topics that would greatly benefit to be included are how configuration in rocket works, how to deal with NaiveDateTime in your models, optional fields, "read_only" fields, file fields, jwt authentication and generally introducing more features that rocket has to offer. As I said in the beginning, this course is currently one of your best and only options. That being said, I very much hope for it to improve and expand in order to become more comprehensive!

Charts

Price

Building web APIs with Rust (beginners) - Price chart

Rating

Building web APIs with Rust (beginners) - Ratings chart

Enrollment distribution

Building web APIs with Rust (beginners) - Distribution chart
3546370
udemy ID
10/4/2020
course created date
11/12/2020
course indexed date
Bot
course submited by