<commit_before>//#development
const mode = 'development'; // development, production
const project = 'nodetomic-api'; //DB example name: nodetomic-api-development / swagger title: nodetomic-api / secret: s3kr3t_$k3y_&5ess10n?%-nodetomic-api-development

import path from 'path';

export default {
  mode : mode, // Mode
  root : path.normalize(`${__dirname}/../../`), // Path Root
  base : path.normalize(`${__dirname}/..`), // Path Base
  client : 'client', // Folder Client
  server : { // Server listen
    ip: 'localhost',
    port: 8000
  },
  secret : `s3kr3t_$k3y_&5ess10n?%-${project}-${mode}`, // Secret key
  session : 'defaultStore', // defaultStore, mongoStore, redisStore / [Required for Twitter oAuth or sessions local...]
  // Roles
  roles : [
    {
      rol: 'user',
      time: 120 // 120 minutes
    }, {
      rol: 'admin',
      time: 1440 // 24 hours
    }
  ],
  router : {
    ignore: ['example'] //Ignore Routers in /api/example
  },
  path : { // paths 404
    disabled: '/:url(api|assets|lib|bower_components)/*'
  },
  database : { // DataBase
    mongo: { // MongoDb
      db: {
        uri: `mongodb://localhost:27017/${project}-${mode}`, // [format-> mongodb://username:password@host:port/database?options]
        options: {
          useMongoClient: false
        },
        seeds: [
          {
            path: '/api/v1/user/user.seed',
            plant: 'once' //once - alway - never
          }, {
            path: '/api/v1.1/hello/hello.seed',
            plant: 'once' //once - alway - never
          }
        ]
      }
    }
    // Other DataBase
  },
  email : { // Email Config
    host: 'hostexample',
    secure: true,
    port: 465,
    auth: {
      user: '<EMAIL>',
      pass: '<PASSWORD>'
    }
  },
  swagger : { // Swagger Config
    enabled: true,
    title: `${project}`,
    description: `RESTful API ${project}`,
    "contact": {
      "name": "Developer",
      "url": "http://www.example.com",<commit_msg>config seeds to development<commit_after>//#development
const mode = 'development'; // development, production
const project = 'nodetomic-api'; //DB example name: nodetomic-api-development / swagger title: nodetomic-api / secret: s3kr3t_$k3y_&5ess10n?%-nodetomic-api-development

import path from 'path';

export default {
  mode : mode, // Mode
  root : path.normalize(`${__dirname}/../../`), // Path Root
  base : path.normalize(`${__dirname}/..`), // Path Base
  client : 'client', // Folder Client
  server : { // Server listen
    ip: 'localhost',
    port: 8000
  },
  secret : `s3kr3t_$k3y_&5ess10n?%-${project}-${mode}`, // Secret key
  session : 'defaultStore', // defaultStore, mongoStore, redisStore / [Required for Twitter oAuth or sessions local...]
  // Roles
  roles : [
    {
      rol: 'user',
      time: 120 // 120 minutes
    }, {
      rol: 'admin',
      time: 1440 // 24 hours
    }
  ],
  router : {
    ignore: ['example'] //Ignore Routers in /api/example
  },
  path : { // paths 404
    disabled: '/:url(api|assets|lib|bower_components)/*'
  },
  database : { // DataBase
    mongo: { // MongoDb
      db: {
        uri: `mongodb://localhost:27017/${project}-${mode}`, // [format-> mongodb://username:password@host:port/database?options]
        options: {
          useMongoClient: false
        },
        seeds: [
          {
            path: '/api/v1/user/user.seed',
            plant: 'once' //once - alway - never
          }, {
            path: '/api/v1.x/hello/hello.seed',
            plant: 'once' //once - alway - never
          }
        ]
      }
    }
    // Other DataBase
  },
  email : { // Email Config
    host: 'hostexample',
    secure: true,
    port: 465,
    auth: {
      user: '<EMAIL>',
      pass: '<PASSWORD>'
    }
  },
  swagger : { // Swagger Config
    enabled: true,
    title: `${project}`,
    description: `RESTful API ${project}`,
    "contact": {
      "name": "Developer",
      "url": "http://www.example.com",
{'fraction_non_alphanumeric': 0.17367088607594935, 'fraction_numerical': 0.0210126582278481, 'mean_word_length': 2.1307448494453247, 'pattern_counts': {'":': 6, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6395441', 'n_tokens_mistral': 1364, 'n_tokens_neox': 1291, 'n_words': 296}