@Kajrietberg You can add environment variables via your Netlify Admin (look in your deploy settings). And you can use dotenv to safely set env vars locally too.
https://www.npmjs.com/package/dotenv
Remember to .gitignore your local .env file.
My tweets and posts live here on my own domain these days.
You can explore them here and follow me on Mastodon instead of Twitter where I'm not currently active.