Day 34 of 100days of code.
Getting started with MongoDB
Using Models in MongoDB
First we create a contactModel.js file. Import mongoose using the required method and also a contact schema. Lets use the module object to export our model. we pass in the name of the model as the ...
paks.hashnode.dev1 min read