config.js 637 B

12345678910111213141516171819202122232425
  1. const config = require('@alancnet/material-framework/config')
  2. module.exports = Object.assign(config, {
  3. auth: {
  4. jwtSecret: '8af06d11-2c53-4f0b-86d7-dd24594da463',
  5. jwtExpires: 7 * 24 * 60 * 60,
  6. saltRounds: 10
  7. },
  8. server: {
  9. port: process.env.NODE_PORT || 3002
  10. },
  11. sequelize: {
  12. // See http://docs.sequelizejs.com/class/lib/sequelize.js~Sequelize.html#instance-constructor-constructor
  13. dialect: 'sqlite',
  14. database: 'project',
  15. username: null,
  16. password: null,
  17. host: null,
  18. port: null,
  19. storage: 'project.db',
  20. operatorsAliases: false,
  21. logging: console.log
  22. },
  23. hiddenRoles: true
  24. })