Quality versus quantity does not have to be a winner-take-all proposition.
— cocktail virgin slut
An unsolicited misrepresentation of the internets foremost experimental cocktail repository.
Good question! Someone once said that “publishing your website in a public repository is almost always a bad idea”, and they where probably right. Still, good advice is there to be ignored. I guess I like having a reliable and easily accessible backup around. It’s also nice to post some live examples of full stack Clojure configurations. cocktail-slurp uses a Datomic Free in to store cocktails that are served using a simple ring-reitit-hiccup SSR stack. There where not that many examples of this available on GitHub, so I hope someone might find it to be a good reference.
Previous versions of the website used a “full-stack” SPA approach with shadow-cljs and re-frame. This development can be traced up to commit 0a427af.
To launch a repl:
clj -M:dev
To build an uberjar:
clj -Sdeps '{:mvn/local-repo "./.m2/repository"}' -T:build uber
Cocktail-slurp uses commercial fonts, so either bring your own or buy Marionette and Margo, both by the immensely talented Nick Sherman.