Hello everyone,

Sean Allen inspired me to share the web app I've been playing with to learn
Compojure.  It's codenamed Sportello and is a simple app that uses the
Google Maps API to calculate an estimated amount of miles you'll have to
travel from a certain place depending on where you live and how frequently
you visit a list of other places.

https://github.com/AlexBaranosky/Sportello/tree/master/src

I used StringTemplate for my templating, and Midje for testing.  One thing I
could see doing is using some form of caching on my requests to google, so
that the same request isn't sent to google over and over (they have a
request limit).  When I get inspired to, I want to add users and sessions,
and save a user's data.  Any direction here would be appreciated.

To get it to run on your machine, in template.clj change the (def
template-dir "C:\\dev\\sportellos\\templates") line to match the location of
the templates folder in your clone of the project.  Then just lein repl
src/server.clj and go to localhost:8080

Any comments on style, technique or just anythings I missed would be greatly
appreciated.  I'm really trying to expand my horizons and perfect the app as
a kind of kata.

Best,
Alex

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to