Monday 30 October 2017

Beginner needs help with NodeJS and MongoDB

Hey everyone.I started learning Node by building simple user management system.My user model looks like this:var employeeSchema = new Schema({ firstName: {type: String,required:true}, lastName: {type: String,required:true}, email: {type:String,required:true}, awards:[ { description:String, date:Date } ] }); I print the values with handlebars: etc,but how do i print the awards elements?Also,i try to put the values of this model in bootstrap tables,but can't do that,in my left i have table which is empty,and in my right part of screen i have printed values but not in table?bootstrap part:
First Name Last Name Email


Submitted October 31, 2017 at 12:29AM by dotdotdev

No comments:

Post a Comment