Dynamic end-points
<p>I have a UI component that generates a  mongo schema like this</p>

<pre>
{
    content: String,
    date: { type: Date, default: Date.now },
    author: {
        type: Schema.Types.ObjectId,
        ref: 'User'
    }
}
</pre>

<p>the idea is take this schema and generate the end-point to get the info, the question is where do you recomend storage the schema in mongoDB or in the files somehow run programmatically  </p>

<blockquote>
  <p>yo angular-fullstack:endpoint mySchema</p>
</blockquote>

<p>Thank You</p>