Skip to content

Instantly share code, notes, and snippets.

View nasr18's full-sized avatar

Mohamed Nasrullah nasr18

  • ST Global Technologies
  • India
  • X @nasr16
View GitHub Profile
[Nest] 940 - 01/13/2020, 12:37:38 AM [InstanceLoader] TypegooseCoreModule dependencies initialized +3856ms
_buildSchema Called for TimeStamps with options: { timestamps: true }
_buildSchema Called for User with options: { timestamps: true }
Starting to process "User._id"
Starting to process "User.username"
Starting to process "User.name"
Starting to process "User.email"
Starting to process "User.password"
Starting to process "User.role"
[Nest] 940 - 01/13/2020, 12:37:38 AM [ExceptionHandler] Invalid type used for map!, got: "function Object() { [native code] }" (User.role) +50ms

Keybase proof

I hereby claim:

  • I am nasr18 on github.
  • I am nasr18 (https://keybase.io/nasr18) on keybase.
  • I have a public key ASCiSMzDnjzBuDlmcEELJn-7rM6BbbF_l5isOwqfeFehRQo

To claim this, I am signing this object:

@nasr18
nasr18 / api.js
Created June 20, 2017 05:06 — forked from fwielstra/api.js
An example NodeJS / Mongoose / Express application based on their respective tutorials
/* The API controller
Exports 3 methods:
* post - Creates a new thread
* list - Returns a list of threads
* show - Displays a thread and its posts
*/
var Thread = require('../models/thread.js');
var Post = require('../models/post.js');