text: /*
  * Project: koa-skeleton https://github.com/danneu/koa-skeleton
  * Copyright 2017 danneu https://github.com/danneu
  * License (MIT)
  */
  
  exports.GOOGLE_CONSUMER_KEY = process.env.GOOGLE_CONSUMER_KEY;
  exports.GOOGLE_CONSUMER_SECRET = process.env.GOOGLE_CONSUMER_SECRET;
  exports.JWT_SECRET = process.env.JWT_SECRET;
  
  // Ensure require('dotenv').config() is run before this module is required
  exports.NODE_ENV = process.env.NODE_ENV || 'development';
  exports.PORT = Number.parseInt(process.env.PORT, 10) || 3000;
  exports.DATABASE_URL = process.env.DATABASE_URL;
  
  // If true, then Koa will trust the X-Forwarded-Host header
  // For example, use this if you're behind Cloudflare
  //
  // https://github.com/koajs/koa/blob/f875eb0c3077105391d16c44c1a9e3f6924791d2/docs/api/request.md#requesthost
  exports.TRUST_PROXY = process.env.TRUST_PROXY === 'true';
  
  // Set the HOSTNAME in production for basic CSRF prevention
  //
  // Ex: example.com, subdomain.example.com
  exports.HOSTNAME = process.env.HOSTNAME;
  if (!exports.HOSTNAME) {
    console.warn('Warn: CSRF checks are disabled' +
                  'since there is no HOSTNAME environment' +
                  'variable provided');
  }
  
  exports.MESSAGES_PER_PAGE = Number.parseInt(process.env.MESSAGES_PER_PAGE, 10)
                              || 10;
  exports.USERS_PER_PAGE = Number.parseInt(process.env.USERS_PER_PAGE, 10)
                              || 10;
  
  // //////////////////////////////////////////////////////////
  
  // Output config object in development to help with sanity-checking
  if (exports.NODE_ENV === 'development' || exports.NODE_ENV === 'test') {
    console.log(exports);
  }
  