Skip to content

A Clojure utility library for Heroku web applications

Notifications You must be signed in to change notification settings

banzai-inc/hanami

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hanami

Build Status

A Clojure utility library for Heroku web applications.

Installation

Add the following dependency to your project.clj:

[hanami "0.1.0"]

Usage

Hanami currently just has one multimethod, jdbc-uri, that can be used to change a Heroku DATABASE_URL value into a JDBC connection string.

(require '[hanami.core :as hanami])

(hanami/jdbc-uri "postgres://foo:foo@heroku.com:5432/hellodb")
=> "jdbc:postgresql://heroku.com:5432/hellodb?user=foo&password=foo"

License

Copyright © 2014 James Reeves

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

About

A Clojure utility library for Heroku web applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 100.0%