8

I have a simple project setup for ClojureScript. I've been running a simple http server to test it out in the browser. I'm at the point I want to add a backend. Is this normally added in the same project file?

How do you package the assets like images, compiled ClojureScript files, and html files for the backend?

2
  • This question somehow reminded me bob martins talk on clean achitecture - m.youtube.com/watch?v=Nsjsiz2A9mg Commented Aug 29, 2015 at 21:20
  • And having the database and the UI be plugins that depend on the business logic you write, not the other way around, reminded me of strandz.org Commented Aug 30, 2015 at 6:47

1 Answer 1

4

Check out various Clojurescript templates for patterns on how to organize projects. The backend is usually included in the same project, sometimes sharing parts of the code with the client/browser side. The assets are typically kept in a resources directory.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.