One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # | |
| # Module manifest for module 'module' | |
| # | |
| # Generated by: | |
| # | |
| # Generated on: | |
| # | |
| @{ |
| BOOT_VERSION=2.7.1 |
| (set-env! | |
| :dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"] | |
| [org.clojure/clojurescript "1.9.293" :scope "provided"] | |
| [adzerk/boot-cljs "1.7.228-2" :scope "test" ] | |
| [adzerk/bootlaces "0.1.13" :scope "test" ] | |
| [degree9/boot-semver "1.3.6" :scope "test" ]] | |
| :source-paths #{"src"} | |
| :resource-paths #{"resources"} | |
| :asset-paths #{"assets"}) |
| (deftask develop | |
| "Build Hoplon/Feathers.js for local development." | |
| [] | |
| (comp | |
| (feathers) | |
| (watch) | |
| (hoplon) | |
| (nodejs :init-fn 'app.server/init) | |
| (cljs) | |
| (target) |
| (require | |
| '[adzerk.bootlaces :refer :all] | |
| '[adzerk.boot-cljs :refer :all] | |
| '[degree9.boot-semver :refer :all] | |
| '[degree9.boot-nodejs :refer :all] | |
| '[feathers.boot-feathers :refer :all] | |
| '[hoplon.boot-hoplon :refer :all]) | |
| (task-options! | |
| cljs {:source-map true |
| (ns app.server | |
| (:require [feathers.app :as feathers] | |
| [app.services :as services])) | |
| (enable-console-print!) | |
| (def app (feathers/feathers)) | |
| (def public (str js/__dirname "/../../")) |
| (ns app.client | |
| (:require [cljsjs.socket-io] | |
| [goog.object :as obj] | |
| [feathers.client :as feathers] | |
| [feathers.client.services :as svc])) | |
| ;; Feathers Client ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| (def app (feathers/feathers)) |
| (page "index.html" | |
| (:require [hoplon.bidi] | |
| [app.views :as view] | |
| [app.routing :as routing]) | |
| (:require-macros [hoplon.bidi :refer [route-tpl]])) | |
| (html | |
| (head | |
| (html-meta :http-equiv "content-type" :content "text/html; charset=utf-8") | |
| (html-meta :name "viewport" :content "width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=0") |
| ;; Basic Specs ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| (spec/def ::fn fn?) | |
| (spec/def ::any any?) | |
| (spec/def ::map map?) | |
| (spec/def ::nil nil?) | |
| (spec/def ::set set?) |