   (:require [cheshire.core :as json]
             [clj-jgit.porcelain :as git]))
 
+
+(def dataRepo "dataRepo/")
+(def board "board.json")
+(def cards "cards.json")
+(def lists "lists.json")
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Data model

;; Git interfacing

(defn repo []
  (git/load-repo "testdata/"))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Ability to read/write files


;; this does read the first card from trello, populating all fields given in json.
(defn read-cards []
  (mapv map->Card
        (json/parse-stream
          (clojure.java.io/reader "./testdata/cards.json")
          true
          )))

;; this writes all the cards to foo.json
(defn write-cards [cards]


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Read API

(defn get-board []
  )

(defn get-lists [boardId]
  )
