aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--env/dev/clj/queue_api/dev_middleware.clj2
-rw-r--r--env/dev/clj/queue_api/env.clj4
-rw-r--r--project.clj16
3 files changed, 6 insertions, 16 deletions
diff --git a/env/dev/clj/queue_api/dev_middleware.clj b/env/dev/clj/queue_api/dev_middleware.clj
index ece7a25..af64678 100644
--- a/env/dev/clj/queue_api/dev_middleware.clj
+++ b/env/dev/clj/queue_api/dev_middleware.clj
@@ -1,10 +1,8 @@
(ns queue-api.dev-middleware
(:require [ring.middleware.reload :refer [wrap-reload]]
- [selmer.middleware :refer [wrap-error-page]]
[prone.middleware :refer [wrap-exceptions]]))
(defn wrap-dev [handler]
(-> handler
wrap-reload
- wrap-error-page
wrap-exceptions))
diff --git a/env/dev/clj/queue_api/env.clj b/env/dev/clj/queue_api/env.clj
index 1f31ba5..0fd51d3 100644
--- a/env/dev/clj/queue_api/env.clj
+++ b/env/dev/clj/queue_api/env.clj
@@ -1,12 +1,10 @@
(ns queue-api.env
- (:require [selmer.parser :as parser]
- [clojure.tools.logging :as log]
+ (:require [clojure.tools.logging :as log]
[queue-api.dev-middleware :refer [wrap-dev]]))
(def defaults
{:init
(fn []
- (parser/cache-off!)
(log/info "\n-=[queue-api started successfully using the development profile]=-"))
:stop
(fn []
diff --git a/project.clj b/project.clj
index dcc3317..3c2289c 100644
--- a/project.clj
+++ b/project.clj
@@ -1,16 +1,16 @@
-(defproject queue-api "0.1.0-SNAPSHOT"
+(defproject queue-api "0.1.0"
- :description "FIXME: write description"
- :url "http://example.com/FIXME"
+ :description "Api for a simple job queue"
+ :url "https://gitlab.com/gabrielgio/queue-api"
:dependencies [[clj-time "0.14.2"]
[compojure "1.6.0"]
[cprop "0.1.11"]
[funcool/struct "1.2.0"]
[luminus-immutant "0.2.4"]
+ [datascript "0.16.3"]
[luminus-nrepl "0.1.4"]
[luminus/ring-ttl-session "0.3.2"]
- [markdown-clj "1.0.2"]
[metosin/compojure-api "1.1.11"]
[metosin/muuntaja "0.5.0"]
[metosin/ring-http-response "0.9.0"]
@@ -18,14 +18,8 @@
[org.clojure/clojure "1.9.0"]
[org.clojure/tools.cli "0.3.5"]
[org.clojure/tools.logging "0.4.0"]
- [org.webjars.bower/tether "1.4.3"]
- [org.webjars/bootstrap "4.0.0"]
- [org.webjars/font-awesome "5.0.6"]
- [org.webjars/jquery "3.2.1"]
- [ring-webjars "0.2.0"]
[ring/ring-core "1.6.3"]
- [ring/ring-defaults "0.3.1"]
- [selmer "1.11.6"]]
+ [ring/ring-defaults "0.3.1"]]
:min-lein-version "2.0.0"