This is the first topic that I create here on Clojureverse. I’ve been a member a little while, but have so far only been reading and picking up programming techniques and and tooling details, which is great for a beginner in this universe where the learning curve is quite steep.
One thing I haven’t seen so far, though, and haven’t quite figured out how to do myself, is how do you people create a web project with a ClojureScript frontend using shadow-cljs and a regular Clojure backend that serves the frontend, using tools.deps for the backend.
- How do you structure the project - two projects as a monorepo/mixed repo/…?
- How do you serve the frontend from the backend?
- How do you build everything into an uberjar in one go?
And as a bonus:
Do you have this working in Emacs? With a clj repl for the backend and a cljs repl for the frontend at the same time?
Thanks for any replies.