Replies: 1 comment 2 replies
-
I dont think loco fit with microservice since the main purpose is to be one person framework |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, thanks for loco, IMHO it made a lot of really good decisions and I look forward to trying it out.
Is it possible to structure my application so that different parts are split into their own crates? Basically I want to do an architecture similar to a microservice architecture but all run under the same application (but easily reusable or refactored).
I'm thinking ´Hooks` is a good starting point. Similar to how an axum router can nest another router, I want my app to nest another app that also exposes background tasks etc.
There are some issues around this like taking care migrations do not conflict or how to handle authentication, but I'm interested in general feasibility of this idea. Maybe you can help :).
Beta Was this translation helpful? Give feedback.
All reactions