August 2016
Intermediate to advanced
376 pages
6h 33m
English
Create a file called config.js inside the config folder at server/config/ and add the following code:
// Database URL
module.exports = {
'url' : 'mongodb://localhost/mvc-app-multimedia'
};
Create a file called passport.js inside the config folder at: server/config/.
In this step, we will use the same configuration file for the Passport module used in Chapter 01, Building a Twitter-Like Application Using the MVC Design Pattern in Node.js. You can download the sample code from www.packtpub.com or from the official repository of the book from GitHub.
Read now
Unlock full access