Skip to content

Build web-apps with a pure-Rust backend and htmx frontend.

Notifications You must be signed in to change notification settings

BongoThirteen/haare-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The HAARE Stack

Build web-apps with a pure-Rust backend and htmx frontend.

This project is based on the axum-askama-htmx stack, replacing Tailwind with the Rust package encre-css for style generation.

Getting started

Clone this repository:

git clone https://github.com/BongoThirteen/haare-stack.git

Run the server with cargo:

cargo run

You should get a web server hosting a simple todo list app with a couple of pages.

More info

Currently the Jinja-like Askama templates are sourced from the templates/ directory and the generated CSS is written to assets/main.css, though this may be configurable in the future.

Static assets are loaded from the assets/ directory, and served by axum along with the necessary API endpoints. The frontend uses htmx for its simplicity and small code footprint. All client-side functionality, including reactivity and styles, is defined in the HTML, streamlining frontend development.

About

Build web-apps with a pure-Rust backend and htmx frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •