Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/altair-bueno/axum-template

Layers, extractors and template engine wrappers for axum based Web MVC applications
https://github.com/altair-bueno/axum-template

axum handlebars minijinja mvc rust template tera web

Last synced: 30 days ago
JSON representation

Layers, extractors and template engine wrappers for axum based Web MVC applications

Awesome Lists containing this project

README

        

# axum-template

Layers, extractors and template engine wrappers for
[axum] based Web MVC applications

# Getting started

The [`engine`] module contains detailed usage examples for each of the
supported template engines.

If you plan using an unsupported engine, check the [`TemplateEngine`] docs

# Available features

- `handlebars`: Enables [handlebars] support
- `minijinja`: Enables [minijinja] support
- `tera`: Enables [tera] support

# Useful links

- [Documentation]
- [Examples]
- [Source code]

## Learning resources

Tutorials, blog posts and success stories not affiliated to this project.
They might be useful for new commers of the Rust programming language or
experienced devs that would like to see this library in action.

- [Server-side rendering in Rust - a Dall.E use-case](https://blog.frankel.ch/server-side-rendering-rust/)

# License

Licensed under the MIT license. See [LICENSE] for more information

[`engine`]: crate::engine
[`TemplateEngine`]: crate::TemplateEngine
[LICENSE]: https://github.com/Altair-Bueno/axum-template/blob/main/LICENSE
[Documentation]: https://docs.rs/axum-template
[Examples]: https://github.com/Altair-Bueno/axum-template/tree/main/examples
[Source code]: https://github.com/Altair-Bueno/axum-template
[axum]: https://github.com/tokio-rs/axum
[handlebars]: https://crates.io/crates/handlebars
[minijinja]: https://crates.io/crates/minijinja
[tera]: https://crates.io/crates/tera