Skip to content

Instantly share code, notes, and snippets.

@gardnervickers
Created October 22, 2013 19:35
Show Gist options
  • Save gardnervickers/7106790 to your computer and use it in GitHub Desktop.
Save gardnervickers/7106790 to your computer and use it in GitHub Desktop.
(ns statefunction.web
(:require [compojure.core :refer [defroutes GET PUT POST DELETE ANY]]
[compojure.handler :refer [site]]
[compojure.route :as route]
[clojure.java.io :as io]
[ring.middleware.stacktrace :as trace]
[ring.middleware.session :as session]
[ring.middleware.session.cookie :as cookie]
[ring.adapter.jetty :as jetty]
[ring.middleware.basic-authentication :as basic]
[cemerick.drawbridge :as drawbridge] ;This allows secure remote repl access
[environ.core :refer [env]] ;Easy env-var managment
[statefunction.views :as views]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment