Skip to content

api-samples/countries-ring-clojure

Repository files navigation

REST JSON API: Countries

Simple interface for querying country information by CCA2 two-character country code, per assignment https://bitbucket.org/mikaelhg/interview-countries

Find the beef

Install prerequisites

  1. Leiningen 2.0.0 or above

Test it

lein do clean, test

Run it locally

lein ring server

Check out the details of Finland at http://localhost:3000/countries/FI

Deploy on Heroku

Prerequisites:

  1. A Heroku account, obviously
  2. Heroku toolbelt installed and ready to go

Set up a new app on Heroku and deploy:

heroku create
git push heroku master

About

A simple REST JSON API built with Clojure / Ring

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published