config.js (1422B)
1 /** 2 * React Starter Kit (https://www.reactstarterkit.com/) 3 * 4 * Copyright © 2014-present Kriasoft, LLC. All rights reserved. 5 * 6 * This source code is licensed under the MIT license found in the 7 * LICENSE.txt file in the root directory of this source tree. 8 */ 9 10 /* eslint-disable max-len */ 11 12 export const port = process.env.PORT || 3000; 13 export const host = process.env.WEBSITE_HOSTNAME || `localhost:${port}`; 14 15 export const databaseUrl = process.env.DATABASE_URL || 'sqlite:database.sqlite'; 16 17 export const analytics = { 18 19 // https://analytics.google.com/ 20 google: { 21 trackingId: process.env.GOOGLE_TRACKING_ID, // UA-XXXXX-X 22 }, 23 24 }; 25 26 export const auth = { 27 28 jwt: { secret: process.env.JWT_SECRET || 'React Starter Kit' }, 29 30 // https://developers.facebook.com/ 31 facebook: { 32 id: process.env.FACEBOOK_APP_ID || '186244551745631', 33 secret: process.env.FACEBOOK_APP_SECRET || 'a970ae3240ab4b9b8aae0f9f0661c6fc', 34 }, 35 36 // https://cloud.google.com/console/project 37 google: { 38 id: process.env.GOOGLE_CLIENT_ID || '251410730550-ahcg0ou5mgfhl8hlui1urru7jn5s12km.apps.googleusercontent.com', 39 secret: process.env.GOOGLE_CLIENT_SECRET || 'Y8yR9yZAhm9jQ8FKAL8QIEcd', 40 }, 41 42 // https://apps.twitter.com/ 43 twitter: { 44 key: process.env.TWITTER_CONSUMER_KEY || 'Ie20AZvLJI2lQD5Dsgxgjauns', 45 secret: process.env.TWITTER_CONSUMER_SECRET || 'KTZ6cxoKnEakQCeSpZlaUCJWGAlTEBJj0y2EMkUBujA7zWSvaQ', 46 }, 47 48 };