From 9188ef7ca606f2bc3b8e76e99667b52688f401a1 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Thu, 7 Dec 2017 17:39:38 -0800 Subject: [PATCH] actually talks to db --- project.clj | 7 ++- resources/public/index.html | 24 +------ src/clj/auto_ap/handler.clj | 38 +++++++---- src/clj/auto_ap/parse.clj | 1 - src/cljs/auto_ap/db.cljs | 1 + src/cljs/auto_ap/events.cljs | 5 ++ src/cljs/auto_ap/subs.cljs | 5 ++ src/cljs/auto_ap/views.cljs | 118 +++++++++++++++++------------------ 8 files changed, 101 insertions(+), 98 deletions(-) diff --git a/project.clj b/project.clj index a074ae06..3e786486 100644 --- a/project.clj +++ b/project.clj @@ -12,7 +12,12 @@ [ring/ring-defaults "0.2.1"] [ring/ring-json "0.4.0"] [ring "1.4.0"] - [yogthos/config "0.8"]] + [yogthos/config "0.8"] + [org.clojure/java.jdbc "0.7.3"] + ;; https://mvnrepository.com/artifact/postgresql/postgresql + [postgresql/postgresql "9.3-1102.jdbc41"] + [cljs-http "0.1.44"] + [org.clojure/core.async "0.3.465"]] :plugins [[lein-ring "0.9.7"] [lein-cljsbuild "1.1.5"]] :clean-targets ^{:protect false} ["resources/public/js/compiled" "target"] diff --git a/resources/public/index.html b/resources/public/index.html index 8f4cfa1f..56ae1190 100644 --- a/resources/public/index.html +++ b/resources/public/index.html @@ -12,10 +12,7 @@