Skip to content

philipesteiff/demo-login-nodejs-mongodb-backbonejs-socket.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full structure and authentication cycle with nodejs mongodb backbonejs socket.io

This is a demo application with all the structural base done.

Used in this project

Frontend

Backend

Install

** NOTE: ** You need install nodejs and mongodb.

  1. Clone this repository $ git clone https://github.com/philipesteiff/demo-login-nodejs-mongodb-backbonejs-socket.io.git.

  2. Install the modules with NPM. Use this command in the root of project $ npm install.

  3. Go to and open config/config.js and configure your clientID and clientSecret. This information you get from Facebook and Google.

  4. Run the Mongodb $ mongod.

  5. In the root of your project type this command $ node app.

Directory structure

-app/
    |__controllers/
    |__models/
    |__views/
-config/
    |__config.js
    |__routes.js
    |__passport.js
    |__express.js
-public/
    |__css/
    |__img/
    |__js/
        |__libs/
        |__models/
        |__views/
    |__templates/

About

This is a demo application with all the structural base done.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published