nullstone-io / nullstone

Nullstone is a customizable developer platform launched on your cloud accounts.
https://nullstone.io
MIT License
39 stars 1 forks source link

Use a URL from one app in another app #142

Open BSick7 opened 1 year ago

BSick7 commented 1 year ago

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