This is sample project with both client and server application developed and build with shadow-cljs. The client app uses rum React wrapper for rendering, the server app uses koa http server.
Clone this repo and change dir to the created one.
First run npm install
to install npm dependencies.
Then in the in separate window/tabs/panes run:
- shadow-cljs helper server
shadow-cljs server start
- shadow-cljs client and server build watcher
shadow-cljs watch client server
- Koa server
node out/server.js
This is enough to get two http server running for your needs as developer. Server app runs on port 8270, client app server runs on port 8280.
TBD
Copyright © 2018 Josef Pospíšil
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.