nullstone
nullstone copied to clipboard
Use a URL from one app in another app
Overview
It is quite common for a frontend app to access an API.
In most frontend apps, developers add an API_URL that points the frontend to the correct API.
For each deployed environment, the app has a different API_URL.
Solution
Since Nullstone already has access to the public/private URLs of an app, it would be nice if a developer could configure one app to use the URL of another app.
This would allow a developer to configure the API_URL once and work in every environment (especially preview environments).
Considerations
- How would a user configure this?
- How would we coordinate infrastructure modules and code deployments with this new dependency?