Search code examples
mongodbyeomanmean-stackyeoman-generator

Add object in mongodb through yeoman generator-angular-fullstack


I'm using yeoman generator-angular-fullstack to deploy a new project.

I'm looking for a way to add an object to my MongoDB but I can't find if there is a proper command through yo.

Is there one?


Solution

  • I found myself the answer. To add object in model schema type in cmd

    angular-fullstack:endpoint nameOfModel