MongoDB and Mongoose - Create a Model

Tell us what’s happening:
I do not understand the why is not working boilerplate-mongomongoose (2) - Node.js Repl - Replit
Describe your issue in detail here.

Your project link(s)

solution: boilerplate-mongomongoose (2) - Node.js Repl - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36

Challenge: MongoDB and Mongoose - Create a Model

Link to the challenge:

Now, create a model called Person from the personSchema .

Are you sure that is what your model is named?

var Persona =  mongoose.model('Person', personSchema);

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.