The apps/api project currently only serves as a webhook receiver for external services (Clerk, Stripe). There's no documentation or example showing how to:
- Make requests from the web app to the api app
- Configure preview deployments so the web app can reach the api app
For any real-world application, fetching data from an API is a basic requirement. Without guidance on how these apps should communicate, developers are left to figure out the wiring themselves.
Could you provide an example or documentation on how to connect the web and api apps, particularly for preview deployments where URLs are dynamically generated?