Full-Stack Web Applications with Rust and Leptos

Full-Stack Web Applications with Rust and Leptos

1h 21mIntermediate2024-02-16

Authors

Ken Kohlmann

Ken Kohlmann

Course details

A typical approach to web development involves building your application with JavaScript or a language that compiles to it. But there can be some compelling reasons to build your entire web application using the Rust programming language instead—both on the back end and the front end. In this course, join instructor Ken Kohlmann as he shows you how to use the Leptos framework to build a full-fledged web application using only the Rust language across the entire stack. Discover the advantages of building a full-stack web application in Rust, including how to build a front end that integrates with back-end server functions and how to use the SQLx crate to perform database queries. Along the way, Ken offers insights on important Leptos concepts such as signals, resources, actions, effects, and context.

Skills covered

LeptosRustFull-Stack Web DevelopmentWeb DevelopmentProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off

Concepts

Introduction

  • Welcome to the course
  • What you should know
  • Why build web applications in Rust

Getting Started

  • Creating a Leptos project
  • Leptos project structure and build process
  • Integrating Tailwind CSS

Core Leptos Constructs - Front End

  • View templates
  • Components
  • Router
  • Signals

Database and Back End

  • Server functions
  • SQLx and SQLite setup
  • Queries with SQLx

Full-Stack Development

  • Resources
  • Actions
  • Rendering collections
  • Effects and context

Conclusion

  • Next steps
40,000 Toman