one icon indicating copy to clipboard operation
one copied to clipboard

[Feature Request?]: Support for multi tenant architectures?

Open askides opened this issue 1 year ago • 1 comments

Sometimes for architectural reasons you need to structure your app with a domain and many subdomains:

  1. https://example.com
  2. https://app.example.com
  3. https://user.example.com

This is currently something feasible only in Next.js as even Remix does not support it natively.

Next.js leverages on his middleware to handle such a feature.

The question is, are you guys in plan to build a general middleware to handle this kind of solutions? This would be really a game changer for me and finally a way to move out from Next.js which is definitely became too complex to handle for simple stuff.

I would love to contribute in case.

Extra docs: https://vercel.com/guides/nextjs-multi-tenant-application

askides avatar Oct 17 '24 12:10 askides

Wondering what would we need to add to middlewares to support this now that it's out:

https://onestack.dev/docs/routing-middlewares

natew avatar Jan 07 '25 02:01 natew