/cocktail-slurp

an unsolicited misrepresentation of the internets foremost experimental cocktail repository

Primary LanguageClojureGNU General Public License v3.0GPL-3.0

cocktail-slurp

Quality versus quantity does not have to be a winner-take-all proposition.

— cocktail virgin slut

./.assets/screenshot.png

An unsolicited misrepresentation of the internets foremost experimental cocktail repository.

Why post a website on Github?

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.

Instructions

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.