others2022-05-27
jonmeyers.io

Environment Variables are a way to make values globally available within the environment our code is running in - either the client’s browser or on the web server hosting our app. Environment variables are often used to store secrets - such as an API key. In this article, we look at how to make our secret values available on the server — loaders and actions in Remix — and how to expose public values — such as our Supabase url and anon key — to the browser.

cover