I'm researching praxis as a possible starting point for some microservice work and was wondering if there are any examples of how to organize the code for a large deploy and many microservices.
1. we want as much isolation between teams as possible.
2. that being said, we want core fabric, utilities, middleware to setup the golden path for how to construct a microservice
how have you done it at rightscale? i assume you have more than one service deployed using praxis. if so, do you use a git repo per service? do you have common libraries?
we are coming from rails where we are heavy into rails engines. we have some core engines that give the rest basic functionality, like logging, metrics, tracing, admin consoles, health check endpoints.
i was experimenting with that in praxis and it kinda worked, but i had to really hack the whole "Application.file_layout.groups" code to insert classes from an external repo.
Additionally, examples of "praxis to praxis" communication would be helpful. I am not completely certain what the right way to code controllers is to validate user input. And then along those lines, do you use any tools to generate client code for us in other services? i saw some gem that will generate angular code, but didn't see anything for ruby (other than maybe PoC code).
The way that praxis forces you to design the api first is such a huge selling point. Even the folder is called "design." I love it. I'm excited to keep learning about it.
Thanks!