Skip to content
John Berry edited this page Jan 16, 2017 · 13 revisions

compojure-api provides a powerful and easy to use way to build web APIs declaratively, with all kinds of fun stuff for free, like interactive Swagger documentation for testing your APIs. We're going to get started by building a simple API for rolling dice on the internet.

Getting Started

compojure-api provides a handy Leiningen template, so to start off with, let's run lein:

lein new compojure-api dice-api
Clone this wiki locally