-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Hi.
I am exploring using microservices as a way to compose a web-app ie run it in a browser. I am transitioning from "old school" monolithic to microservices and am fairly new to Node etc.
The app has lots of business logic in the client with data storage a mixture of server via REST/JSON and local data via pouchdb.
The initial iteration was MVC which got messy pretty quickly. Next was MVVM which was much better but still coupled. Then I tried a global event bus as a way to decouple which was an improvement but still didn't feel right.
I want a system whereby I can use my Gherkin specs to run the app "headless" ie only run the models with no views at all to test the business logic. Then implement the model states as view representations with whatever renderer, persistence, logging, etc I go with.
So, in theory microservices fits the bill with its loose coupling, composition, etc.
Could I use Hydra in the browser? Can I simply Browserify it (or similar)? Is it even a good idea?
Any thoughts or directions would be helpful.
Thanks,
Murray