Fork me on GitHub

Hi, I'm going through the web dev with clojure book again and building a toy app for myself, and i did the following: 1. create table ddl 2. create a spec, with very similar definitions... 3. create hugsql queries, again, similar info to the above 4. finally wire this into my swagger routes with appropriate response codes/etc. Am I doing it wrong? If feels like repeating myself for a lot of the same/similar stuff...


Maybe it's just because the last app I built had a PostgresT back end