template for mini realtime apps, based on calcit-js eco. But with calcit-rs runtime.
Install Node.js, Yarn, Calcit to start.
Clone dependencies into ~/.config/calcit/modules/
with caps
command from Calcit.
Code with calcit-editor.
Run frontend:
# dev mode
yarn
caps
cr --emit-js # watch compile page code
yarn vite # for browser app
# release mode
caps --ci
cr --emit-js -1
yarn build --base=./
Run backend in calcit-rs:
# dev mode
mode=dev cr --entry server
# release mode
cr --entry server
MIT