Skip to content

RegiByte/todo-app-clojure

Repository files navigation

wonderland

This application is a sample todo application built with clojure

Development

Install Java, Clojure, Babashka, TailwindCSS and other tools manually or via mise:

mise trust && mise install

Check all available commands:

bb tasks

Run lint, formatting, tests and checking outdated dependencies:

bb check

Run 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.

Update assets

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-assets

Your assets will be updated in resources/public folder.

Deployment

For detailed deployment instructions, refer to the documentation:

About

A simple todo app bult entirely with clojure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors