Environment Variables
If you want to have your functions use the process.env variables, you you can set them by going to google cloud console and cloud functions. You will be able to find the deployed firebase functions there. You can select each function one by one and then set the environment variables there.
create a new file called ".env",then put your code like this
then I just call PROCESS_ENV to access the values that I set on .env file for example:
Last updated
Was this helpful?