https://github.com/oxide-byte/todo-axum-askama-htmx
Simple Todo application on AXUM, ASKAMA and HTMX containing a CRUD elements and a popup window for items
https://github.com/oxide-byte/todo-axum-askama-htmx
askama axum htmx rust tailwind
Last synced: 2 months ago
JSON representation
Simple Todo application on AXUM, ASKAMA and HTMX containing a CRUD elements and a popup window for items
- Host: GitHub
- URL: https://github.com/oxide-byte/todo-axum-askama-htmx
- Owner: oxide-byte
- License: mit
- Created: 2023-11-25T16:16:07.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-29T19:52:39.000Z (about 1 year ago)
- Last Synced: 2025-01-21T04:17:08.503Z (4 months ago)
- Topics: askama, axum, htmx, rust, tailwind
- Language: Rust
- Homepage:
- Size: 64.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.adoc
- License: LICENSE
Awesome Lists containing this project
README
= TODO - AXUM - ASKAMA - HTMX
== Introduction
This is a simple Todo app, as POC for HTMX example based on Askama template engine and running on an Axum server. The Tower crates serves the static resources files like CSS, JS...
The application contains the basic CRUD elements including the create/update handled by a modal window.
As bonus, the POC uses Tailwind to prettify the application. You can use the standalone version of Tailwind or install NodeJs and NPM.
== Tools & Links
- https://www.rust-lang.org/ (nightly build)
- https://djc.github.io/askama/askama.html
- https://htmx.org/
== Running application
Start the Axum server and the page can be accessed by http://127.0.0.1:8080/
[source,bash]
----
cargo run
----Build with Docker
[source,bash]
----
DOCKER_BUILDKIT=1 docker build .
----== Conclusion
The POC was a nice experience, but currently I have no real usecase to follow the HTMX Stack and I will continue with Leptos: https://github.com/oxide-byte/todo-leptos