ashishsurya
ashishsurya3y ago

Help in deployment

Hey all, I am building an app which is having a 1 . vite-react frontend 2 . trpc-standalone server 3 . react native mobile app all in the same repository both frontend and react native mobile app uses the trpc-standalone api. HOW SHOULD I DEPLOY IT????????
4 Replies
Nick
Nick3y ago
What exactly about deployment is confusing you? It’s just a NodeJS api, you deploy it like any other
ashishsurya
ashishsuryaOP3y ago
OK got it now in frontend i will import app router type from backend in production that can be broken
Nick
Nick3y ago
Types don’t survive compile time And type imports get stripped
ashishsurya
ashishsuryaOP3y ago
Thanks Lucas

Did you find this page helpful?