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????????
![](https://utfs.io/f/c07a94e4-c767-4215-9741-cffc21d9adbb-zfs6ox.29.22_AM.png)
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