Reputation: 6632
I would like to write projects with high level of interaction between frontend and backend. Currently I'm using Node.js for backend, Google Closure for frontend and own Swagger-like library to publish and use JSON services based on a schema. I don't like this approach, because changes to such projects are non-local, and need a lot of testing.
Is there a variant of JS (or, possibly, some language translating to JS) translating one source (possibly with some @server/@client
annotations) both to frontend and backend code?
Upvotes: 2
Views: 402
Reputation: 4360
There are two options which comes into my mind:
Upvotes: 2