Managing staging and production environments

Staging environments are typically strongly decoupled from production ones. Thus, it would be expected to have different database and api resources in the backend ready to power these different environments. What is the recommended way to tell weweb to use a specific api domain when in stage vs production, for the api calls powering our weweb collections?

For now, if you’re using Xano, you can use their branching. If you’re using anything else, you can use my “workaround”, the enviroment handling is coming and it’s on the list of features the team is working on I think. My workaround is for Supabase, but really, it’s same for anything if you’re savvy enough.