https://github.com/bryanmikaelian/clj-template
template repo for my clj projects
https://github.com/bryanmikaelian/clj-template
clojure compojure deps-edn ring
Last synced: 9 months ago
JSON representation
template repo for my clj projects
- Host: GitHub
- URL: https://github.com/bryanmikaelian/clj-template
- Owner: bryanmikaelian
- Created: 2022-08-29T17:54:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-29T18:06:42.000Z (almost 4 years ago)
- Last Synced: 2025-05-18T11:33:49.336Z (about 1 year ago)
- Topics: clojure, compojure, deps-edn, ring
- Language: Clojure
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# template
A template clj repo with some plugins that I like to use. backed by `deps.edn`
Comes with:
- `deps.edn`
- `compojure` + `ring` for a basic API Server with a healthcheck endpoint
- [`component`](https://github.com/stuartsierra/component)
I use [`vim-iced`](https://liquidz.github.io/vim-iced/) for all REPL management. Once you installed you can run something like `iced repl -A:dev`. Within the repl, you can call the various `component` lifecycle methods like `(init)` and `(start)`.
If you copy this template, you probably want to `sed` the word `template` with your project name. For example, I usually do something like this:
```sh
git clone ...
sed -e 's/template/myservice/g' ./**/*.clj
```