create-sitefox-shadow-fullstack
v0.0.7
Published
Set up a ClojureScript web server in one command with sitefox and shadow-cljs.
Downloads
6
Readme
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 watch
Then 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. 👍
Production
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.