karad / lein_template_descjop

A Leiningen template(Clojure/ClojureScript Project) for Web based desktop application with Electron (atom-shell).
http://descjop.org
394 stars 16 forks source link

Doc and details? #33

Open laurentsenta opened 7 years ago

laurentsenta commented 7 years ago

Hi there, thanks for sharing this template, I was able to create a re-frame helloworld / pomodoro app in a couple of hours without knowing much about electron, so thanks!

Could you provide details about the project structure? As far as I understand there's a piece of node code src/project/core.cljs and a piece of html + js code app/.../index.html + src_front/....

When the electron framework starts, the node server will run the nodejs code. The nodejs code will create the windows that display & run the html pages. What about creating new windows? How do you communicate between the client and the server?