Web Application development with Rust Rocket
Objectives
- To be able to develop web APIs in Rust using the Rocket framework.
- To be able to develop the backend of a web application with plain HTML and CSS front-end.
Audience
- This course is suitable for anyone with basic background in Rust and in web application development (backend).
Course Format
- Duration of the course is 24 academic hours. (3 full days).
- The course includes approximately 40% hands on lab work.
Prerequisites
- Basic programming background in either a high-level language such as C, Java or a scripting language such as Shell, VBSscript, Javascript, Perl, PHP or Ruby
Syllabus
Rust Rocket
- Installing Rust
- Hello World with Rust Rocket
- Routes
- GET and POST requests
- Path parameters
- Handling 404 not found
- Redirections
- Input validation
- Guards
- Configuring the web application
- Session management
- Cookies
- Testing
Building API Rocket
- Returning JSON
- Accepting JSON
The Tera template system
- Single value
- Conditionals
- Loops
- Showing a list
- Showing a HashMap
- Showing a Struct
- Including other templates
- Using a layout
Let's talk
If you would like to bring this course to your organization, let's talk about it! You can reach me via email at gabor@szabgab.com or you can go ahead and schedule a chat: