Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

First Clojure project, with learning purposes.

Notifications You must be signed in to change notification settings

dluiscosta/cut-buildings

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cut-buildings

First project with clojure, with learning purposes.

Description

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.

Prerequisites

You will need Java JDK 8 or above and Leiningen 2.0.0 or above installed.

Running the Application

To start a web server for the application, run:

lein ring server

Running Tests

To run tests, run:

lein midje

About

First Clojure project, with learning purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%