Astro as a multi-app host (i.e. microfrontends)

This might be a silly question...but would Astro be a ridiculous thing to use to host multiple apps? I.e. think Google Docs. Could just use Astro for the header navigation and each "app" could just be hosted on its own page. Astro would take care of the auth, and provide a unified SPA like look and feel while hosting multiple apps. The apps would just be a single component on each astro page. I'm trying to think if there are any downsides here. Would simplify deployment, and it would allow apps to be written with different frameworks, all while keeping a common look and feel.
2 Replies
exodus
exodusOP2y ago
Keeping in mind apps will ONLY be SPA. No need for SSR at all in this case.
Jacob
Jacob2y ago
If the apps are all SPA then I don’t really see why not, but I think I’m missing something I haven’t used it but I’ve heard good things about Nx, maybe that would be good for this Would you be using Astro for the API? Seems like a pain Although, now that I’m thinking about it, I would probably use Astro for this too. Since in this case it would basically serve as a nice way to connect multiple basically standalone Vite apps with a shared API
Want results from more Discord servers?
Add your server