Help in deployment

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