https://github.com/clojurestream/babashka-workshop
Files for Babashka Workshop at ClojureStream
https://github.com/clojurestream/babashka-workshop
babashka clojure
Last synced: 23 days ago
JSON representation
Files for Babashka Workshop at ClojureStream
- Host: GitHub
- URL: https://github.com/clojurestream/babashka-workshop
- Owner: clojurestream
- License: other
- Created: 2023-01-30T14:28:55.000Z (over 3 years ago)
- Default Branch: 2023-03
- Last Pushed: 2023-03-17T17:51:18.000Z (over 3 years ago)
- Last Synced: 2025-12-26T20:12:27.223Z (6 months ago)
- Topics: babashka, clojure
- Language: Clojure
- Homepage: https://clojure.stream/workshops/babashka
- Size: 2.02 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Babashka Workshop
A simple TODO app backed by SQLite3 and a CLI intended for the workshop demonstrating the various features and aspects of Babashka.
## System Requirements
Latest versions recommended for the following
- [Babashka][babashka].
- Clojure [CLI][cli]
- JDK 11+.
- Docker or Podman.
- [Gum][gum].
To verify things are set up properly, you can run this:
```
bb --version
clojure --version
```
## Run
### Server
- Run tests: `make test`.
- Start app locally: `make start`. Set the env vars `TODOS_HOST` and `TODOS_PORT` to customise.
- Build container image: `make image`.
### CLI
- List all todos: `bb cli ls`
- Add a todo: `bb cli todo`.
- Mark it done: `bb cli done`
## Workshop Feedback
At the end of the workshop, please [provide short feedback][feedback-form].
[babashka]: https://github.com/babashka/babashka#installation
[feedback-form]: https://forms.gle/iZ8YMfftWdu3MsSPA
[gum]: https://github.com/charmbracelet/gum#installation
[cli]: https://clojure.org/guides/install_clojure