Todo App, an example SPA based on re-frame.
This app depends on todo-api.
- Java (JDK)
java -version
>= 8 (1.8.0)
- Node.js
node --version
>= v12
$ npm install
$ npx shadow-cljs watch app
By default this creates a development web server at http://localhost:8080.
$ npx shadow-cljs release app --config-merge '{:closure-defines {todo-app.config/API_URL "http://localhost:3000"}}'
$ cp -r public/index.html public/css dist/
# WARNING: Python's http.server is not recommended for production
$ python -m http.server --directory dist 8080