ericthomson81 ericthomson81 - 2 years ago 101
Node.js Question

I am getting passport error in node-data

 I am using node-data( .while running the facebook setup I am receving error. passport is not defined.

Answer Source

How To Use without security

Git clone
cd demo-sample/Demo-Sample
npm install
tsd install
Mongodb running on 27017(default port).
Goto config.ts and make isAutheticationEnabled = 'disabled'
open cmd, run 'gulp compile-ts' then run gulp.
Post a JSON {""name"":""john"","""":""john""} to http://localhost:9999/data/users.
Hit the api to get data(http://localhost:9999/data/users)
Ensure node version is 5.7.0"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download