a web application framework for Clojure
Born of a need to build fast, clean web applications, Joodo uniquely satisfies the need for a robust clojure web library. Taking inspiration from the self-discipline of martial arts and the attention to detail of Old World artisans, Joodo is a carefully crafted tool that will aid you in forging the best applications you can imagine.
Joodo is an open-source project, free for all, and constantly updated.
Joodo requires Leiningen 2.0 or later and can be imported by simply adding the latest version to your project.clj dependencies:
:dependencies [[joodo "1.1.2"]]
After updating your project.clj file, be sure to update your dependencies:
Part of the beauty of Joodo is how easy it is to build a new project. If you run the following command from your terminal (replacing _proj_name_ with the name of your project), Joodo will do all the heavy lifting and create a joodo project for you:
lein new joodo _proj_name_
By default, Joodo projects have dependencies on external libraries. Before you run your project, you have to get those libraries. Fortunately, Leiningen makes this as easy as running the following command from your terminal when in your project's directory:
Since Joodo runs atop Ring, you can start your Joodo server by simply running the normal Ring server start command from within your joodo project:
lein ring server
Joodo will default to port 3000 but you can easily specificy your own port number by adding it as an option to the server start command. For example:
lein ring server 8180
If you use git and want to deploy on Heroku, pushing your project to production is as easy as creating a git repo, making a commit, creating a repo on heroku, and pushing to it:
git init git add . git commit -m "Initial Commit" heroku create --stack cedar git push heroku master