Skip to content

hadamove/todo-maud-htmx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦀 htmx todos

Server-side rendered todo app that uses htmx for reactivity, Maud for templating, and tailwind for styling. The storage is setup using sqlx crate and SQLite for simplicity.

demo

Setup

Crate sqlx-cli is used to set up the database and run migrations. The following commands should be enough to set up the database:

cp .env.example .env
cargo install sqlx-cli
sqlx database create
sqlx migrate run --source db/migrations

After that, you can run the app using cargo run. The app should be available at http://localhost:8080.

Tailwind CSS IntelliSense

The configuration provided in tailwind.config.js should enhance your development experience in VS Code by making Tailwind CSS IntelliSense fully functional for *.rs template files.

About

Server-side rendered todo app using htmx and Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published