• Stars
    star
    164
  • Rank 228,222 (Top 5 %)
  • Language
    Clojure
  • Created about 3 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Quick example of a todo list SPA using Babashka and htmx

Babashka htmx todo app

Quick example of a todo list application using Babashka and htmx.

With htmx get a single page app without writing a single line of Javascript.

From their own web page:

htmx allows you to access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext

htmx is small (~10k min.gz'd), dependency-free, extendable & IE11 compatible

Babashka Htmx

Run the application

Clone this repo and run with Babashka:

git clone https://github.com/prestancedesign/babashka-htmx-todoapp
cd babashka-htmx-todoapp
bb htmx_todoapp.clj

Your browser will launch automatically to the url http://localhost:3000