Home | About | Documentation | Discuss

Bract requires Clojure 1.7 or higher, Java 7 or higher.

Latest release

Module Description Clojars artifact Dependencies
bract.core Core functionality [bract/bract.core "0.6.1"] Keypin for config
bract.cli CLI support [bract/bract.cli "0.6.1-0.1.0"] tools.cli
bract.dev REPL support [bract/bract.dev "0.6.1-0.1.0"] tools.namespace
bract.ring Ring support [bract/bract.ring "0.6.1-0.1.0"]  
gossamer.core Micro Web framework [bract/gossamer.core "0.6.1-0.2.0"] Calfpath (routing), Cambium (logging)

Quick start

To generate a server-side web application combining several Bract modules, run the following command:

$ lein new gossamer myapp
$ cd myapp

Once you generate the application, you can use the following commands:

$ lein repl                  # load application in the REPL - run (?) to see help
$ lein ring server-headless  # start application in DEV mode
$ lein do clean, uberjar     # generate uberjar to run in standalone mode
$ java -jar target/uberjar/myapp-0.1.0-SNAPSHOT-standalone.jar -vf config/config.edn


Copyright © 2017-2019 Shantanu Kumar (kumar.shantanu@gmail.com, shantanu.kumar@concur.com)

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Fork me on GitHub