This is a demo application with all the structural base done.
** NOTE: ** You need install nodejs and mongodb.
-
Clone this repository
$ git clone https://github.com/philipesteiff/demo-login-nodejs-mongodb-backbonejs-socket.io.git
. -
Install the modules with NPM. Use this command in the root of project
$ npm install
. -
Go to and open
config/config.js
and configure yourclientID
andclientSecret
. This information you get from Facebook and Google. -
Run the Mongodb
$ mongod
. -
In the root of your project type this command
$ node app
.
-app/
|__controllers/
|__models/
|__views/
-config/
|__config.js
|__routes.js
|__passport.js
|__express.js
-public/
|__css/
|__img/
|__js/
|__libs/
|__models/
|__views/
|__templates/