title: Setting up dotenv in firebase functions
body: <p>I am trying to move the tiny node-express app I made into firebase functions. </p>
  
  <p>The file have <strong><code>dotenv</code></strong> variables. Earlier I thought If I just deploy and put dotenv in dependency, It will work but that didn't happen so.. </p>
  
  <p>So, I went to environment configuration article of firebase <a href="https://firebase.google.com/docs/functions/config-env" rel="noreferrer">to understand how I can set .env</a>  </p>
  
  <p>Which states to set things by doing something like this </p>
  
  <pre><code>firebase functions:config:set someservice.key="THE API KEY" someservice.id="THE CLIENT ID"
  </code></pre>
  
  <p>But I have so many environment configuration and doing that some what seems to be cumbersome task. </p>
  
  <p>So let's say this is environment file </p>
  
  <pre><code># App port Address
  PORT = 8080
  
  # Google Secret 
  GOOGLE_CALLBACK_URL =   http://localhost:8080/auth/google/callback
  GOOGLE_CLIENT_ID = 4048108-bssbfjohpu69vl6jhpgs1ne0.apps.googleusercontent.com
  GOOGLE_CLIENT_SECRET = lTQHpjzY57oQpO
  
  # Client Address 
  CLIENT_ADDRESS = http://localhost:3000/
  
  
  # Meetup Secret 
  MEETUP_CALLBACK_URL = http://localhost:8080/auth/meetup/callback
  MEETUP_CLIENT_ID = ef6i9f7m6k0jp33m9olgt
  MEETUP_CLIENT_SECRET = sk3t5lnss2sdl1kgnt
  
  #EventBrite Secret 
  EVENTBRITE_CALLBACK_URL = http://localhost:8080/auth/eventbrite/callback
  EVENTBRITE_CLIENT_ID = UU2FXKGYHJRNHLN
  EVENTBRITE_CLIENT_SECRET = NA55QG52FAOF6GDMLKSJBKYOPIGQU4R46HHEU4 
  </code></pre>
  
  <p>How Can I best set up so that when I do firebase <strong>firebase serve --only functions,hosting</strong> it doesn't throw any errors such as </p>
  
  <blockquote>
    <p>OAuth2Strategy requires a clientID option</p>
  </blockquote>