Set up a full-stack ClojureScript web server in one command using sitefox and shadow-cljs.
npm create sitefox-shadow-fullstack mywebapp
cd mywebapp
npm install
make watchThen open src/mywebapp/server.cljs to edit the back end code.
Open src/mywebapp/ui.cljs to edit the front end code.
Code will be automatically reloaded. 👍
To make a production build into the build folder:
make
To run the production build:
cd build && node server.js
See the sitefox documentation for details on what you can do next.