Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markokocic/htmx-todo-playground
A todomvc implemented using Clojure, Kit Framework and htmx
https://github.com/markokocic/htmx-todo-playground
Last synced: about 2 months ago
JSON representation
A todomvc implemented using Clojure, Kit Framework and htmx
- Host: GitHub
- URL: https://github.com/markokocic/htmx-todo-playground
- Owner: markokocic
- License: mit
- Created: 2022-08-12T15:54:11.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-12T15:55:58.000Z (over 2 years ago)
- Last Synced: 2024-10-16T00:35:53.546Z (3 months ago)
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# htmxtodo
Start a [REPL](#repls) in your editor or terminal of choice.
Start the server with:
```clojure
(go)
```The default API is available under http://localhost:3000/api
System configuration is available under `resources/system.edn`.
To reload changes:
```clojure
(reset)
```## REPLs
### Cursive
Configure a [REPL following the Cursive documentation](https://cursive-ide.com/userguide/repl.html). Using the default "Run with IntelliJ project classpath" option will let you select an alias from the ["Clojure deps" aliases selection](https://cursive-ide.com/userguide/deps.html#refreshing-deps-dependencies).
### CIDER
Use the `cider` alias for CIDER nREPL support (run `clj -M:dev:cider`). See the [CIDER docs](https://docs.cider.mx/cider/basics/up_and_running.html) for more help.
Note that this alias runs nREPL during development. To run nREPL in production (typically when the system starts), use the kit-nrepl library through the +nrepl profile as described in [the documentation](https://kit-clj.github.io/docs/profiles.html#profiles).
### Command Line
Run `clj -M:dev:nrepl` or `make repl`.
Note that, just like with [CIDER](#cider), this alias runs nREPL during development. To run nREPL in production (typically when the system starts), use the kit-nrepl library through the +nrepl profile as described in [the documentation](https://kit-clj.github.io/docs/profiles.html#profiles).