text: /**
   * React Starter Kit (https://www.reactstarterkit.com/)
   *
   * Copyright © 2014-present Kriasoft, LLC. All rights reserved.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE.txt file in the root directory of this source tree.
   */
  
  /* eslint-disable max-len */
  
  if (process.env.BROWSER) {
    throw new Error(
      'Do not import `config.js` from inside the client-side code.',
    );
  }
  
  if (process.env.NODE_ENV === 'development') {
    // eslint-disable-next-line global-require
    require('env2')('./devenv.json');
  }
  
  module.exports = {
    // Node.js app
    port: process.env.PORT,
    appURL: process.env.APP_URL,
  
    // https://expressjs.com/en/guide/behind-proxies.html
    trustProxy: process.env.TRUST_PROXY,
  
    // API Gateway
    api: {
      // API URL to be used in the client-side code
      clientUrl: process.env.API_CLIENT_URL,
      // API URL to be used in the server-side code
      serverUrl: process.env.API_SERVER_URL,
    },
  
    // Web analytics
    analytics: {
      // https://analytics.google.com/
      googleTrackingId: process.env.GOOGLE_TRACKING_ID, // UA-XXXXX-X
    },
  
    // Authentication
    auth: {
      jwt: { secret: process.env.JWT_SECRET },
  
      // https://developers.facebook.com/
      facebook: {
        id: process.env.FACEBOOK_APP_ID || '3083254791728201',
        secret:
          process.env.FACEBOOK_APP_SECRET || '47e2cda6d0287b6f9fa074b66a20e67e',
      },
  
      // https://cloud.google.com/console/project
      google: {
        id:
          process.env.GOOGLE_CLIENT_ID ||
          '251410730550-ahcg0ou5mgfhl8hlui1urru7jn5s12km.apps.googleusercontent.com',
        secret: process.env.GOOGLE_CLIENT_SECRET || 'Y8yR9yZAhm9jQ8FKAL8QIEcd',
      },
  
      // https://apps.twitter.com/
      twitter: {
        key: process.env.TWITTER_CONSUMER_KEY || 'Ie20AZvLJI2lQD5Dsgxgjauns',
        secret:
          process.env.TWITTER_CONSUMER_SECRET ||
          'KTZ6cxoKnEakQCeSpZlaUCJWGAlTEBJj0y2EMkUBujA7zWSvaQ',
      },
    },
  };
  