In a monorepo on Vercel, how does one app know about the other? #9035
Unanswered
stephenlindauer
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Simplified scenario:
In my mono repo, I have a www app and an api app. The www app is the frontend for our website while the api app is just an API that the www app communicates with. (We also have a mobile app and other frontend apps that hit the API, for context.)
Problem:
When building the apps, I want the preview of www to point to the preview of api so I can test my changes in both apps together.
Is it possible to inform the www app about the api app's url during the build? Right now I have them as 2 separate projects in Vercel.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions