[J] Keep having to switch the environment variables for SUPABASE_KEY and SUPABASE_PASSWORD when switching between running the api server as dev or prod (or when running scripts in dev or prod).
_DEV
)[c] Still don’t have local testing of backend architecture fully set up. Unsure if anything special for supa. Have been just deploying to dev this whole time.
./dev.sh dev
and you get to modify the api easily with hot reload. Problems tho is still developing firebase triggers.[i] seeing logs for a specific function on the prod api server is much harder now. Each functions used to have its own page.
[J] Get this error when actually the endpoint doesn’t exist because didn’t deploy it yet:
Access to fetch at 'https://api-nggbo3neva-uc.a.run.app/update-user-embedding' from origin 'https://manifold.markets' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
[c] can I run dev environment for love and manifold markets at the same time? why not?