SHARE
TWEET

Untitled

a guest Apr 2nd, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Your App is running on 3000
  2. MongoDB is connected
  3. Mongoose: users.createIndex({ email: 1 }, { unique: true, background: true })
  4. Mongoose: users.find({}, { projection: {} })
  5. [ { role: 'employee',
  6.     skills: [ 'JavaScript', 'Node.js' ],
  7.     _id: 5ca0c481ddab8a7b96c648f,
  8.     learnings: [],
  9.     timeoff: [ [Object] ],
  10.     email: 'email@email.com',
  11.     name: 'firstname',
  12.     workExperience: [ [Object] ],
  13.     education: [ [Object] ],
  14.     createdAt: 2019-03-31T14:14:32.596Z,
  15.     updatedAt: 2019-04-01T14:30:30.470Z,
  16.     __v: 0,
  17.     learning: [ [Object] ] },
  18.   { role: 'employee',
  19.     skills: [],
  20.     _id: 5ca344cdfc2cfb1d162178aa,
  21.     email: 'email@email.com',
  22.     learning: [],
  23.     timeoff: [],
  24.     workExperience: [],
  25.     education: [],
  26.     createdAt: 2019-04-02T11:17:33.979Z,
  27.     updatedAt: 2019-04-02T11:17:33.979Z,
  28.     __v: 0 } ]
  29. { managerserialnumber: '123',
  30.   serialnumber: '123',
  31.   jobresponsibilities: 'Developer',
  32.   cn: 'First Name',
  33.   mobile: '123456789',
  34.   callupname: 'asdf',
  35.   givenname: 'asdf',
  36.   ismanager: 'N',
  37.   employeetype: 'P',
  38.   alternateaddress1: 'street' }
  39.  
  40. { managerserialnumber: '123',
  41.   serialnumber: '123',
  42.   jobresponsibilities:
  43.    'Job Title',
  44.   cn: 'name',
  45.   callupname: 'name',
  46.   mobile: '123456789',
  47.   givenname: 'name',
  48.   ismanager: 'Y',
  49.   employeetype: 'P',
  50.   alternateaddress1: 'street' }
  51. [ { role: 'employee',
  52.     skills: [ 'skill1', 'skill2' ],
  53.     _id: 5ca0cb481ddab8a7b96cf48f,
  54.     learnings: [],
  55.     timeoff: [ [Object] ],
  56.     email: 'mail@mail.com',
  57.     name: 'Tony',
  58.     workExperience: [ [Object] ],
  59.     education: [ [Object] ],
  60.     createdAt: 2019-03-31T14:14:32.596Z,
  61.     updatedAt: 2019-04-01T14:30:30.470Z,
  62.     __v: 0,
  63.     learning: [ [Object] ] },
  64.   { role: 'employee',
  65.     skills: [],
  66.     _id: 5ca344cdfc2ceb1d1d2178aa,
  67.     email: 'mail@mail.com',
  68.     learning: [],
  69.     timeoff: [],
  70.     workExperience: [],
  71.     education: [],
  72.     createdAt: 2019-04-02T11:17:33.979Z,
  73.     updatedAt: 2019-04-02T11:17:33.979Z,
  74.     __v: 0 } ]
  75. ::1 - - [02/Apr/2019:12:33:01 +0000] "GET /api/user/all HTTP/1.1" 200 1106 "-" "PostmanRuntime/7.6.1"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top