 (def counter (atom 0))
 
 (def recipes (atom []))
+
+(def recipe (atom (hash-map)))
 
 ;; -------------------------
 ;; Forms Helpers

      [:header
        [:h1 "New Recipe"]]
      [new-recipe-body]]])

;; -------------------------
;; Nav Bar

(defn get-recipes []
  (GET (str js/context "/recipes")
    :handler (fn [response] (reset! recipes response))
    :response-format :json
    :keywords? true))

(defn get-recipe [recipe-id]
  (GET (str js/context "/recipes/" recipe-id)
    :handler (fn [response] (js/console.log response))
    :response-format :json
    :keywords? true))

