Skip to content

Latest commit

 

History

History
65 lines (32 loc) · 876 Bytes

README.md

File metadata and controls

65 lines (32 loc) · 876 Bytes

#Node.js Hackathon Starter

###Hackathon Documentation

Node.js Authentication: http://scotch.io/tutorials/javascript/easy-node-authentication-setup-and-local

Github Passport API: https://github.com/jaredhanson/passport-github/

Github API: https://github.com/mikedeboer/node-github/ Good docs can be found at: http://mikedeboer.github.io/node-github/

Mongoose Docs: http://mongoosejs.com/docs/

Async Library:

###MongoDB

#####Start up the server

$ sudo mongod #####Local Mongo shell

$ mongo

Use a database

> use <database>


Show all db's

> show dbs


Show all collections

> show collections


Query all users

> db.users.find()


Find Specific User

> db.users.findOne({linkedin_email:'[email protected]'})


Drop Specific collection

> db.users.drop()


Find All people in Bay Area

> db.allpeoples.find({location: "San Francisco Bay Area"})