A Restful web app which holds and retrieves contact information. It can provide output formatted as either JSON or vCard.
To start developing with address book, you'll need to have the following installed with the correct permissions:
- MongoDB
- Clojure
- Leiningen
Then run the following within the project directory:
lein deps
lein test
To run a development server, run the following in two separate terminals:
lein ring server
mongod
You can deploy the address book app in one of two ways:
- Create a war file and run it with a server container like Tomcat
- Create a jar file and run it as a service
Here's how you would create the war file:
lein ring uberwar
Here's how you would create the jar file:
lein uberjar
Copyright (C) 2012 Kushal Pisavadia
Distributed under the Eclipse Public License, the same as Clojure.