Basic Leiningen template for web applications with reagent, using ajax and the transit format to communicate with the backend.
Basic Leiningen template for web applications with reagent, using ajax and the transit format to communicate with the backend.
It integrates figwheel for quick and responsive development.
To create an application with this template:
lein new reagent-ajax <project_name>
lein repl
(go)
, this will start figwheel, the server on port 8080
, and other bootstrapping stuffhttp://localhost:8080
lein cljsbuild once prod
lein uberjar
java -jar target/<project_name>.jar
├── README.md
├── dev
│ └── clj
│ └── user.clj
├── project.clj
├── resources
│ ├── log4j.properties
│ └── public
│ ├── css
│ │ └── screen.css
│ └── index.html
├── src
│ ├── clj
│ │ └── <project_name>
│ │ ├── core.clj
│ │ └── server.clj
│ └── cljs
│ └── <project_name>
│ └── core.cljs
└── test
└── clj
└── <project_name>
└── core_test.clj
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.