|
|
@ -156,7 +156,7 @@ All of which are optional except `type` with very logical default values. |
|
|
|
|
|
|
|
|
|
|
|
### MongoDB |
|
|
|
### MongoDB |
|
|
|
|
|
|
|
|
|
|
|
To use mongodb storage you must install the 'mongodb' pachage in npm |
|
|
|
To use mongodb storage you must install the 'mongodb' package in npm |
|
|
|
|
|
|
|
|
|
|
|
`npm install mongodb` |
|
|
|
`npm install mongodb` |
|
|
|
|
|
|
|
|
|
|
@ -164,7 +164,7 @@ Once you've done that, your config section should look like: |
|
|
|
|
|
|
|
|
|
|
|
``` json |
|
|
|
``` json |
|
|
|
{ |
|
|
|
{ |
|
|
|
"type": "mongodb", |
|
|
|
"type": "mongo", |
|
|
|
"connectionUrl": "mongodb://localhost:27017/database" |
|
|
|
"connectionUrl": "mongodb://localhost:27017/database" |
|
|
|
} |
|
|
|
} |
|
|
|
``` |
|
|
|
``` |
|
|
|