-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mahtab Alam
committed
Dec 21, 2016
1 parent
5e2a6a5
commit 505f9b6
Showing
17 changed files
with
1,342 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 3,8 @@ var mongoose = require( 'mongoose' ); | |
var bcrypt=require('bcrypt'); | ||
var SALT_WORK_FACTOR = 10; | ||
|
||
var dbURI = 'mongodb://localhost/test'; | ||
//var dbURI = 'mongodb://localhost/test'; | ||
var dbURI =process.env.dbURI | ||
//var dbURI = 'mongodb://your_username:[email protected]:43615/leavethemarks'; | ||
mongoose.connect(dbURI); | ||
|
||
|
Oops, something went wrong.