Settings

Theme

Show HN: Reinhardt – Django/DRF-inspired full-stack web framework for Rust

reinhardt-web.dev

2 points by kent8192 2 months ago · 2 comments · 1 min read

Reader

Reinhardt is a full-stack web framework for Rust inspired by Django and DRF. It bundles HTTP, ORM, auth, DI, and background tasks into one crate — feature flags let you pull in only what you need (minimal/standard/full), or use individual crates.

Published as `reinhardt-web` on crates.io, imported as `reinhardt` in your code.

I built it after moving from Django/DRF to Rust and repeatedly assembling the same Axum + ORM + migrations + auth stack.

Two things I'd especially like feedback on: a built-in WASM+SSR reactive frontend (Pages), where a DSL-to-Rust codegen step (page!/head!/form! macros) produces both client WASM and server HTML from one source; and auto-generated migrations from #[model(...)] definitions.

Quickstart is here for anyone who wants to try it immediately: - Website: https://reinhardt-web.dev - Crates.io: https://crates.io/crates/reinhardt-web

v0.1.0-rc.15 (https://github.com/kent8192/reinhardt-web/releases/tag/reinh...), BSD 3-Clause. Looking for feedback on the API design, not production use yet.

kent8192OP 2 months ago

Currently, v0.1.0-rc.15, WASM frontend is not fully debugged. I recommend using only RESTful API for the try.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection