This is demo CRUD app in Clojure.Implemented the basic functionality of CRUD operations for a medical card of the client.
Start in container: docker compose up
Connect your relp client to http://localhost:7888
Start dev-server in repl: (-dev-main)
Stop dev-server in repl: (stop-server)
OR
Run database: docker-compose start postgres
Start local: lein with-profile dev run
docker build -t clojure/client-card .
docker run --rm -p 8080:3000 clojure/client-card
lein uberjar
java -cp target/client-card.jar clojure.main -m server.core
lein githooks install
core.db => (migrate-up)
core.db => (migrate-down)
To run cljs.test tests using headless chrome install karma and its plugins:
npm install -g karma
npm install -g karma-cli
npm install karma karma-cljs-test karma-chrome-launcher --save-dev
lein doo chrome-headless test once