Web Application development with Rust Rocket
Target Audience
- This course is suitable for anyone with basic background in Rust and in web application development (backend).
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
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.
Course Format
- Duration of the course is 24 academic hours. (3 full days).
- The course includes approximately 40% hands on lab work.
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
Contact
Contact: Gabor Szabo gabor@hostlocal.com
Phone: +972-54-4624648