config.example.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. module.exports = {
  2. PORT: 3000,
  3. /* The domain that this website is on */
  4. DEFAULT_DOMAIN: 'kutt.it',
  5. /* Neo4j database credential details */
  6. DB_URI: 'bolt://localhost',
  7. DB_USERNAME: '',
  8. DB_PASSWORD: '',
  9. /* The daily limit for each user */
  10. USER_LIMIT_PER_DAY: 50,
  11. /* A passphrase to encrypt JWT. Use a long and secure key. */
  12. JWT_SECRET: 'securekey',
  13. /*
  14. Admin emails so they can access admin actions on settings page
  15. Array of strings
  16. */
  17. ADMIN_EMAILS: [],
  18. /*
  19. Invisible reCaptcha secret key
  20. Create one in https://www.google.com/recaptcha/intro/
  21. */
  22. RECAPTCHA_SECRET_KEY: '',
  23. /*
  24. Google Cloud API to prevent from users from submitting malware URLs.
  25. Get it from https://developers.google.com/safe-browsing/v4/get-started
  26. */
  27. GOOGLE_SAFE_BROWSING_KEY: '',
  28. /*
  29. Your email host details to use to send verification emails.
  30. More info on http://nodemailer.com/
  31. */
  32. MAIL_HOST: '',
  33. MAIL_PORT: 587,
  34. MAIL_SECURE: false,
  35. MAIL_USER: '',
  36. MAIL_PASSWORD: '',
  37. };