Course Overview
You will build a full-stack web app using the rust programming language. We will be building a fully functional CRUD Server API using AXUM, SQLx, and Postgres. Then we will build a fully functional frontend in rust using the Yew framework (Yew looks like ReactJS but in Rust). We will then connect the front end and the back end to run from the same port/URL. You will learn how to create Yew components, routing, create forms and handle GET and POST requests using the rust reqwest crate in the front end. This course is good for developers who already know at least one programming language and have some web development experience. It is not a course for folks who are completely new to programming.
Rust is the most loved programming language for the past several years according to StackOverflow. All the big tech companies are now using rust and a lot of startups are using rust. More so, a lot of the newer blockchain projects are building with rust. The rust programming language is growing very rapidly.
This course will help you start developing in rust very fast, as you will build a real full-stack app. You can use the concepts to expand your rust dev options.
The course is divided into 3 main sections. Section 1 is an intro to rust. You can skip this section if you are already familiar with the material. Section 2 will cover the Server API dev using AXUM and section 3 covers developing frontend apps using the popular Yew framework.
Full source code provided at the end of the course.
FAQ
FAQ area empty
Course curriculum
-
Introduction
136 Xem trước -
Showcase what we will be building
175 Xem trước -
Installing Rust
66 Xem trước -
Setting up VS Code
226 Xem trước -
Rust Variables and Functions 1
374 -
Rust Variables and Functions 2
290 Xem trước -
Rust Modules
175 -
Rust data Types
168 -
Compound Data Types
325 Xem trước -
Vectors
417 Xem trước -
Rust HashMaps
458 -
HashMaps 2
128 -
If, Else, match
464 -
For and While Loops
491 -
Rust Structs
433 -
Rust Structs: Impl
408 -
Working with JSON: serde_json
642 -
Understanding Rust Ownership and Borrowing
578
-
What will be covered in this section
35 -
Setting Up AXUM Server
559 -
Add Cargo Watch
122 -
Adding CORS to AXUM
136 -
Adding Postgres/SQLx
341 -
Adding Postgres Table
229 -
AXUM API - Create Product
1230 -
AXUM API - Get ALL Products
472 -
AXUM API - Get -ONE product
576 -
AXUM API - Delete Product
259 -
AXUM API - Update Product
507 -
Server API completed - see final code
-
Yew Frontend
120 -
Setting Up Yew
557 -
Adding Styling to Yew
503 -
Yew Components
364 -
API Get Request
1131 -
Displaying Data
379 -
Yew use_effect hook
201 -
Create Form
466 -
Add Form
1067 -
Connect Yew and Axum
668 -
Post Form Data to Server API
746 -
Style Form
110 -
Yew Routing
526 -
Yew Routing: Adding Components and Navigation
731 -
Link to source code: https://github.com/infinityfish/fullstackrustcourse
Requirment
-
Basic software programming skills in any programming language
-
Familiarity with Javascript, Typescript or Python is helpful, but not a requirement
Outcomes
-
Why use Rust programming language for full stack web app development in 2023 and beyond?
-
Rust language basics like variables, functions, data types, control flow, structs, enums, using json, hashmaps, modules, ownership and borrowing in rust
-
Build a fully functional CRUD API using AXUM, SQLx and Postgress
-
Build a fully functional Frontend in rust using the Yew framework (Yew looks like ReactJS, but in Rust)
-
Following popular demand: link to source code provided at the end of the course.
0 Student
1 Course
0 review