module.exports = {

  /**
  * This is the configuration of your API
  * All these settings are required
  * You can easly add some configuration

  * To get your configuration just require the file

  * Example:
  * config = require('/path/to/configuration');
  * config.my_settings
  */

  /**
  * This is where you specify your database parameter
  * Only using mongoDB
  * You need a host, a database name, a user and a password
  */
  dbType: 'mongodb',
  dbHost: '127.0.0.1',
  dbName: 'todo',
  dbUser: '',
  dbPassword: '',

  /**
  * Public directory
  * Where files will accessible from url
  */
  publicDir : 'public',

  /**
  * Upload directory
  * Where files will be upload
  */
  upload : {
    dir : 'uploads',
    fieldNameSize: 50,
    files: 1,
    fields: 5,
    fileSize: 1024 * 1024
  },

  /**
  * This is really important
  * This key will be use to crypt tokens
  * All requests could need to be authenticate with token
  */
  secretKey: 'mysupersecretkey',

  /**
  * A little message show when you start your server
  */
  messageOnConsole: 'Magic happen on port      :  ',

  /**
  * If true, Morgan module will log every request to the console
  */
  dev: true,

  /**
  * This is the prefix use to call the api
  * Example:
  * if apiPrefix => /api
  * calling api will be domain.com/api/user/XX
  * Coming soon !
  * if you are using a subdomain like api.mydomain.com
  * You can just pass it to false
  */
  apiPrefix: '/api',
};

@@ -204,24 +204,28 @@
 Example:%0A  *
+ var
  config = re
@@ -442,12 +442,26 @@
   db
-Type
+ : %7B%0A    type     
 : 'm
@@ -475,14 +475,19 @@
 ,%0A  
-dbHost
+  host     
 : '1
@@ -503,14 +503,19 @@
 ,%0A  
-dbName
+  name     
 : 't
@@ -526,22 +526,27 @@
 ,%0A  
-dbUser
+  user     
 : '',%0A  
 dbPa
@@ -545,23 +545,31 @@
 ,%0A  
-dbP
+  p
 assword
+ 
 : ''
-,
+%0A  %7D,%0A  
 %0A%0A  
@@ -721,16 +721,19 @@
 e upload
+ to
 %0A  */%0A  
@@ -751,16 +751,26 @@
     dir 
+          
 : 'uploa
@@ -791,16 +791,17 @@
 NameSize
+ 
 : 50,%0A  
@@ -807,16 +807,25 @@
    files
+         
 : 1,%0A   
@@ -831,16 +831,24 @@
   fields
+        
 : 5,%0A   
@@ -856,16 +856,22 @@
 fileSize
+      
 : 1024 *
@@ -985,16 +985,8 @@
 uld 
-need to 
 be a
@@ -1520,13 +1520,12 @@
 : '/api'
-,
 %0A%7D;%0A

change db object