[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/alainyog/JavaScript.com/develop/config.example.js [Back]  [Original]

module.exports = {
  server: {
    port: 3000,
    environment: process.env.APP_ENV || 'development',
    cookieKey: 'somerandomstring',
    redis: '127.0.0.1',
    database: 'pg://localhost:5432/javascriptcom',

    basicAuth: {
      username: 'username',
      password: 'password'
    }
  },

  apiKeys: {
    /**
     * GitHub is used to authenticate and these fields are required to start the
     * application. You can fake these values but you will not be able to log
     * into the application without valid credentials.
     **/
    github: {
      clientId: '',
      clientSecret: ''
    },

    twitter: {
      // Tweet when a story is approved.
      enabled: false,
      consumerKey: '',
      consumerSecret: '',
      accessToken: '',
      accessTokenSecret: ''
    },

    mailchimp: {
      enabled: false,
      key: '',
      listId: ''
    },

    mandrill: '',
    akismet: ''
  }
}

Web Proxy Viewer  |  New URL  |  Original Page