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