This application is a sample todo application built with clojure
Install Java, Clojure, Babashka, TailwindCSS and other tools manually or via mise:
mise trust && mise installCheck all available commands:
bb tasksRun lint, formatting, tests and checking outdated dependencies:
bb checkRun server with built-in REPL from terminal:
Note
If you're using PostgreSQL, Docker should be installed
bb clj-repl
(reset)Once server is started, it will automatically reload on code changes in the backend and TailwindCSS classes.
The server should be available at http://localhost:8000.
The idea is to vendor all js-files in the project repo eliminating build step for js part.
Once you want to update the version of AlpineJS, HTMX or add a new asset, edit version in bb.edn file at fetch-assets and run:
bb fetch-assetsYour assets will be updated in resources/public folder.
For detailed deployment instructions, refer to the documentation: