ashishsurya
ashishsurya17mo 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
Nick17mo ago
What exactly about deployment is confusing you? It’s just a NodeJS api, you deploy it like any other
ashishsurya
ashishsurya17mo ago
OK got it now in frontend i will import app router type from backend in production that can be broken
Nick
Nick17mo ago
Types don’t survive compile time And type imports get stripped
ashishsurya
ashishsurya17mo ago
Thanks Lucas