Serving a frontend with a Rust Web framework

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • MoonZoon

    Rust Fullstack Framework

  • I've come across MoonZoon (https://github.com/MoonZoon/MoonZoon) which seems like an interesting full stack framework, but I'm wondering about a solution that would allow choosing both frontend and backend frameworks.

  • feoblog

    A distributed, cryptographically-verifiable blog / social network

  • For my project, FeoBlog (https://github.com/nfnitloop/feoblog/). I use https://crates.io/crates/rust-embed to embed static files in the built binary.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • rust-embed

    Rust Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.

  • They even accepted one of my feature requests to add some file metadata which makes doing this kind of thing easier: https://github.com/pyros2097/rust-embed/issues/140

  • yew-sse-example

    An example of use of yew-sse

  • Funny, I did exactly this with a rocket backend and a yew frontend a while ago. I use the cargo xtask pattern for this. More information in my repository.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts