ericthomson81 ericthomson81 - 5 months ago 8x
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.


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"