This template implements a technology stack intended to bootstrap rapid development of a web application or web service based on React, Clojure and Postgres.
The resulting deployable artifact is a standalone executable JAR file which contains the complete single-page web application, including all web resources embedded within it.
- React 15.2.x
- React-Router
- React-Bootstrap
- Clojure 1.8.x
- Ring
- Compojure
- Cheshire
- Java 1.8+
- Leiningen 2.6.1+
- Node 4.4.6+
- Postgres 9.3+
- MyBatis Migrations
cd {clone_dir}/database
psql -U {dba_username} -f create_database.sql
migrate up
cd {clone_dir}/web
npm install
npm run-script watch
cd {clone_dir}
lein ring server-headless
cd {clone_dir}/web
npm run-script build
cd {clone_dir}
lein ring uberjar
java -jar target/{jarfile}.jar