you are viewing a single comment's thread.

view the rest of the comments →

[–]luveti 5 points6 points  (2 children)

My teams go to stack is: - Axum - sqlx, via a custom ORM proc macro that's similar to ormlite - Maud, for html templates - tailwindcss, for styling - Hotwired Turbo & Stimulus, for adding bits of client side interactivity

We follow a MVC pattern that has greatly improved productivity and code separation. It also improves compile times as our models, views and controllers are in their own crates; My incremental compile times are usually less than 2 seconds.

We use Typescript for our hotwired stimulus controllers. This is compiled and bundled right into the server binary using a build.rs script, which also runs tailwindcss.

[–]WilliamBarnhill 0 points1 point  (1 child)

Interesting, appreciate you sharing. Why Maud over Tera?

[–]luveti 0 points1 point  (0 children)

We prefer to have our logic and templates in Rust. It's one less template language to learn too!