Skip to content

Sample Rust Code for using Actix, HTMX, Askama and SQLX with Postgres

Notifications You must be signed in to change notification settings

nickfthedev/actix-htmx-askama-sqlx

Repository files navigation

Actix-Askama-HTMX-SQLX-Template

If you want the simple todo list template, use the branch simple-todo-app because the main branch is under active development and will be extended with multi user support

A implemented To-Do-List using the Techstack above

image

Tailwind make CSS

Watching changes

npm run css:dev

Just build:

npm run css:build

Run Cargo Watch (must be installed)

Install

cargo install cargo-watch

Run:

cargo watch -x run'  OR  'npm run dev

Database SQLx

Install SQLx CLI

cargo install sqlx-cli --no-default-features --features rustls,postgres

Copy .env.sample to .env and change database url

About

Sample Rust Code for using Actix, HTMX, Askama and SQLX with Postgres

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published