First let’s create a new application called liberator-service using the compojure-app template.
lein new compojure-app liberator-service
Once the application is created, add Liberator and Cheshire dependencies to our project.clj dependencies vector:
Cheshire is a fast and easy-to-use JSON parsing library. We’ll use it for parsing the requests from the client and generating the responses.
At this point, we should be able to start up the read-evaluate-print ...