Skip to content

Latest commit

 

History

History

todo-app

Todo App, an example SPA based on re-frame.

This app depends on todo-api.

Prerequisites

Development

Run

$ npm install
$ npx shadow-cljs watch app

By default this creates a development web server at http://localhost:8080.

Production

Build

$ 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/

Run

# WARNING: Python's http.server is not recommended for production
$ python -m http.server --directory dist 8080