#Libekorma#
This is a sample project whose only purpose is to show how one combines Liberator and Korma projects to build a RESTful webservice in Clojure around a relational database.
There is a post covering this topic at http://blog.alex-turok.com.
###We start like###
- Very simple getting started instructions go here
###We have###
- Simple Korma entities representing DB objects in the app
- Demo data insertion through Korma, allowing to have some data as well as see very basic Korma stuff
- POST/GET/PUT/DELETE API on a couple resources that performs inserts, deletes, updates and selects (including those with joins)
- Very basic Ring+Compojure harness around the resource
- Simple, possibly unidiomatic, use of exists?, conflict? and malformed? handlers
###We use###
- Postgres as a database engine - this does not affect the code much, but the schema definition and connection definition do depend on the underlying DBMS.
- I completely ignore each and every advanced aspect of web applications, including authentication and everything else.