Skip to content

Rust (Axum) server, powered by askama templates, serving HTMX pages, and styled with Tailwind CSS todo application.

License

Notifications You must be signed in to change notification settings

ReeceRose/rust-askama-htmx-tailwind-todo

Repository files navigation

Rust Askama Htmx Tailwind Todo Application

A Rust (Axum) server, powered by askama templates, serving HTMX pages, and styled with Tailwind CSS todo application.

About

Boilerplate code to demonstrate how an Axum API would incorporate both HTMX and JSON API endpoints in an efficient way.

Getting Started

Prerequisites

  1. Rust
  2. Make
  3. Docker
  4. PNPM

Configuring development environment

To get a development build ready, run:

make setup

Running locally

make tailwind-watch # watches templates for any tailwind changes and rebuilds /assets/main.css.
make server-watch   # serves the backend and watches for any new changes, which will trigger a "hot" reload.

About

Rust (Axum) server, powered by askama templates, serving HTMX pages, and styled with Tailwind CSS todo application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published