Is it possible to configure a custom RPC endpoint in SolidStart? [Tauri] [CapacitorJS]

I don't know if my question makes much sense but the idea behind it is to enable a tech stack setup... the Dream Multiplatform Developer Experience ( in my opinion hehe ) I'd love to have a project that shares code between a SolidStart website and it's corresponding Mobile App, so I came up with the following idea. 2 builds - SERVER Build: which could be SSR True or SSR False ... ideally SSR True. - NATIVE Build: which happens via CapacitorJS or Tauri and uses the same codebase but with SSR False, so all JS can be bundled ahead of time in the Native Installer ( even if there's some redundant server code there I think it doesn't matter much ) In my mind this should be feasible and probably the missing piece is to configure all BackEnd Calls ( I'm only thinking RPCs but maybe there's more which is necessary ) to a different endpoint. We might also have a couple of CORS setup to do but that's life. Any thoughts? Here's a sketch of the idea behind both builds
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server