First project with clojure, with learning purposes.
There are n buildings at a city, with different heights, and a horizontal laser is activated to cut through some of them. The application holds the heights of n registered buildings and there are 2 kinds of interactions: either a user inputs a new building height to be stored or inputs a laser height to check how many buildings would get cut by it.
The application is web based, with use of Ring and Compojure routes. Unitary tests are conducted with Midje.
You will need Java JDK 8 or above and Leiningen 2.0.0 or above installed.
To start a web server for the application, run:
lein ring server
To run tests, run:
lein midje